aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 5af9a9f9a..ce29b63cd 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -157,26 +157,26 @@ export class MainView extends React.Component {
'dataTransition',
'viewTransition',
'treeViewOpen',
- 'showSidebar',
+ 'layout_showSidebar',
'itemIndex', // for changing slides in presentations
- 'sidebarWidthPercent',
- 'currentTimecode',
- 'timelineHeightPercent',
+ 'layout_sidebarWidthPercent',
+ 'layout_currentTimecode',
+ 'layout_timelineHeightPercent',
'presStatus',
- 'panX',
- 'panY',
+ 'freeform_panX',
+ 'freeform_panY',
'overlayX',
'overlayY',
- 'fitWidth',
+ 'layout_fitWidth',
'nativeWidth',
'nativeHeight',
- 'text-scrollHeight',
- 'text-height',
- 'hideMinimap',
- 'viewScale',
- 'scrollTop',
+ 'text_scrollHeight',
+ 'text_height',
+ 'layout_hideMinimap',
+ 'freeform_scale',
+ 'layout_scrollTop',
'hidden',
- 'curPage',
+ 'layout_curPage',
'viewType',
'chromeHidden',
'currentFrame',
@@ -880,8 +880,8 @@ export class MainView extends React.Component {
<CollectionLinearView
Document={Doc.MyDockedBtns}
DataDoc={undefined}
- fieldKey={'data'}
- dropAction={'alias'}
+ fieldKey="data"
+ dropAction="embed"
setHeight={returnFalse}
styleProvider={DefaultStyleProvider}
rootSelected={returnTrue}
@@ -911,7 +911,7 @@ export class MainView extends React.Component {
);
}
@computed get snapLines() {
- return !SelectionManager.Views().some(dv => dv.rootDoc.showSnapLines) ? null : (
+ return !SelectionManager.Views().some(dv => dv.rootDoc.freeform_snapLines) ? null : (
<div className="mainView-snapLines">
<svg style={{ width: '100%', height: '100%' }}>
{SnappingManager.horizSnapLines().map(l => (