fix(modeler): add modeling components last
This commit is contained in:
parent
cb21721210
commit
782329f896
|
@ -54,12 +54,15 @@ Modeler.prototype.createModdle = function() {
|
||||||
|
|
||||||
// modules the modeler is composed of
|
// modules the modeler is composed of
|
||||||
Modeler.prototype._modules = Modeler.prototype._modules.concat([
|
Modeler.prototype._modules = Modeler.prototype._modules.concat([
|
||||||
// TODO (nre): buggy in conjunction with zoomscroll / move canvas
|
// non-modeling components
|
||||||
require('diagram-js/lib/features/move'),
|
|
||||||
require('./features/label-editing'),
|
require('./features/label-editing'),
|
||||||
require('./features/zoomscroll'),
|
require('./features/zoomscroll'),
|
||||||
require('./features/touch'),
|
require('./features/touch'),
|
||||||
require('./features/movecanvas'),
|
require('./features/movecanvas'),
|
||||||
|
|
||||||
|
// modeling components
|
||||||
|
require('./features/modeling'),
|
||||||
|
require('diagram-js/lib/features/move'),
|
||||||
require('./features/context-pad')
|
require('./features/context-pad')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue