From 86506468baffff7345def03bb1ca22309bbf835d Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Fri, 26 Apr 2019 20:06:49 +0200 Subject: [PATCH] feat(Modeler): re-integrate grid snapping --- lib/Modeler.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Modeler.js b/lib/Modeler.js index 6509a720..21a198dc 100644 --- a/lib/Modeler.js +++ b/lib/Modeler.js @@ -20,6 +20,7 @@ import ContextPadModule from './features/context-pad'; import CopyPasteModule from './features/copy-paste'; import DistributeElementsModule from './features/distribute-elements'; import EditorActionsModule from './features/editor-actions'; +import GridSnappingModule from './features/grid-snapping'; import KeyboardModule from './features/keyboard'; import KeyboardMoveSelectionModule from 'diagram-js/lib/features/keyboard-move-selection'; import LabelEditingModule from './features/label-editing'; @@ -210,6 +211,7 @@ Modeler.prototype._modelingModules = [ CopyPasteModule, DistributeElementsModule, EditorActionsModule, + GridSnappingModule, KeyboardModule, KeyboardMoveSelectionModule, LabelEditingModule,