feat(Modeler): re-integrate grid snapping

This commit is contained in:
Nico Rehwaldt 2019-04-26 20:06:49 +02:00 committed by merge-me[bot]
parent fa2e472361
commit 86506468ba
1 changed files with 2 additions and 0 deletions

View File

@ -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,