mirror of
https://github.com/ninglg/light-mindmap.git
synced 2026-07-22 06:51:49 +00:00
feat: add drag state variables
This commit is contained in:
parent
66e432e5b7
commit
50b854040a
1 changed files with 8 additions and 0 deletions
8
main.js
8
main.js
|
|
@ -619,6 +619,14 @@ class LightMindMapPlugin extends obsidian.Plugin {
|
|||
overlay._lmmSelected = null;
|
||||
overlay._lmmPendingEdit = null;
|
||||
overlay._lmmEditingNode = null;
|
||||
overlay._lmmDragging = false;
|
||||
overlay._lmmDragNode = null;
|
||||
overlay._lmmDragClone = null;
|
||||
overlay._lmmDropTarget = null;
|
||||
overlay._lmmDropPosition = null;
|
||||
overlay._lmmDragStartX = 0;
|
||||
overlay._lmmDragStartY = 0;
|
||||
overlay._lmmDragTimer = null;
|
||||
|
||||
if (overlay._lmmCleanup) overlay._lmmCleanup();
|
||||
overlay.empty();
|
||||
|
|
|
|||
Loading…
Reference in a new issue