aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DashboardView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-03-10 09:48:15 -0400
committerbobzel <zzzman@gmail.com>2024-03-10 09:48:15 -0400
commit36d18da80e5e5e1c6cae0dc21c1677a7ab9c1d77 (patch)
tree69dae37de1312ff8704e661a8e9dda98da30346a /src/client/views/DashboardView.tsx
parent2279f029ce19c9f7f886a6966ea5f23be9468890 (diff)
parenta9eb266296d1b71f1016c867f39e20299c011eea (diff)
Merge branch 'master' into eleanor-starter
Diffstat (limited to 'src/client/views/DashboardView.tsx')
-rw-r--r--src/client/views/DashboardView.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx
index 472d419fc..146ac5b01 100644
--- a/src/client/views/DashboardView.tsx
+++ b/src/client/views/DashboardView.tsx
@@ -28,6 +28,7 @@ import { Colors } from './global/globalEnums';
import { MainViewModal } from './MainViewModal';
import { ButtonType } from './nodes/FontIconBox/FontIconBox';
import { ObservableReactComponent } from './ObservableReactComponent';
+import { dropActionType } from '../util/DragManager';
enum DashboardGroup {
MyDashboards,
@@ -403,7 +404,7 @@ export class DashboardView extends ObservableReactComponent<{}> {
_layout_fitWidth: true,
_gridGap: 5,
_forceActive: true,
- childDragAction: 'embed',
+ childDragAction: dropActionType.embed,
treeView_TruncateTitleWidth: 150,
ignoreClick: true,
contextMenuIcons: new List<string>(['plus']),
@@ -411,7 +412,7 @@ export class DashboardView extends ObservableReactComponent<{}> {
_lockedPosition: true,
layout_boxShadow: '0 0',
childDontRegisterViews: true,
- dropAction: 'same',
+ dropAction: dropActionType.same,
isSystem: true,
layout_explainer: 'All of the calendars that you have created will appear here.',
};
@@ -427,7 +428,6 @@ export class DashboardView extends ObservableReactComponent<{}> {
_width: 30,
_height: 30,
_dragOnlyWithinContainer: true,
- _layout_hideContextMenu: true,
title: 'New trail',
toolTip: 'Create new trail',
color: Colors.BLACK,
@@ -450,7 +450,7 @@ export class DashboardView extends ObservableReactComponent<{}> {
_layout_fitWidth: true,
_gridGap: 5,
_forceActive: true,
- childDragAction: 'embed',
+ childDragAction: dropActionType.embed,
treeView_TruncateTitleWidth: 150,
ignoreClick: true,
layout_headerButton: myTrailsBtn,
@@ -459,7 +459,7 @@ export class DashboardView extends ObservableReactComponent<{}> {
_lockedPosition: true,
layout_boxShadow: '0 0',
childDontRegisterViews: true,
- dropAction: 'same',
+ dropAction: dropActionType.same,
isSystem: true,
layout_explainer: 'All of the trails that you have created will appear here.',
};