feat(Modeler): re-integrate grid snapping
This commit is contained in:
parent
fa2e472361
commit
86506468ba
|
@ -20,6 +20,7 @@ import ContextPadModule from './features/context-pad';
|
||||||
import CopyPasteModule from './features/copy-paste';
|
import CopyPasteModule from './features/copy-paste';
|
||||||
import DistributeElementsModule from './features/distribute-elements';
|
import DistributeElementsModule from './features/distribute-elements';
|
||||||
import EditorActionsModule from './features/editor-actions';
|
import EditorActionsModule from './features/editor-actions';
|
||||||
|
import GridSnappingModule from './features/grid-snapping';
|
||||||
import KeyboardModule from './features/keyboard';
|
import KeyboardModule from './features/keyboard';
|
||||||
import KeyboardMoveSelectionModule from 'diagram-js/lib/features/keyboard-move-selection';
|
import KeyboardMoveSelectionModule from 'diagram-js/lib/features/keyboard-move-selection';
|
||||||
import LabelEditingModule from './features/label-editing';
|
import LabelEditingModule from './features/label-editing';
|
||||||
|
@ -210,6 +211,7 @@ Modeler.prototype._modelingModules = [
|
||||||
CopyPasteModule,
|
CopyPasteModule,
|
||||||
DistributeElementsModule,
|
DistributeElementsModule,
|
||||||
EditorActionsModule,
|
EditorActionsModule,
|
||||||
|
GridSnappingModule,
|
||||||
KeyboardModule,
|
KeyboardModule,
|
||||||
KeyboardMoveSelectionModule,
|
KeyboardMoveSelectionModule,
|
||||||
LabelEditingModule,
|
LabelEditingModule,
|
||||||
|
|
Loading…
Reference in New Issue