aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-11 17:04:49 -0500
committerbobzel <zzzman@gmail.com>2023-12-11 17:04:49 -0500
commit07c30aed69dfa810ddb0b861ae2dc8e8f3a27356 (patch)
tree678a0855b169eb88fdc574fd49481ee6e57b12de /src/client/util/DragManager.ts
parent936aa21fb576472e321a9af976d5da7b75292511 (diff)
fixed includes of scss globals into typescript files.
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 427b1c85f..4b1cc1702 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -13,8 +13,7 @@ import { ScriptingGlobals } from './ScriptingGlobals';
import { SelectionManager } from './SelectionManager';
import { SnappingManager } from './SnappingManager';
import { UndoManager } from './UndoManager';
-// import * as globalCssVariables from '../views/global/globalCssVariables.scss';
-const contextMenuZindex = 100002;
+const { default : { contextMenuZindex } } = require('../views/global/globalCssVariables.module.scss'); // prettier-ignore
export type dropActionType = 'embed' | 'copy' | 'move' | 'add' | 'same' | 'inSame' | 'proto' | 'none' | undefined; // undefined = move, "same" = move but don't call dropPropertiesToRemove