fix(modeler): add modeling components last

This commit is contained in:
Nico Rehwaldt 2014-08-06 14:40:34 +02:00
parent cb21721210
commit 782329f896
1 changed files with 5 additions and 2 deletions

View File

@ -54,12 +54,15 @@ Modeler.prototype.createModdle = function() {
// modules the modeler is composed of
Modeler.prototype._modules = Modeler.prototype._modules.concat([
// TODO (nre): buggy in conjunction with zoomscroll / move canvas
require('diagram-js/lib/features/move'),
// non-modeling components
require('./features/label-editing'),
require('./features/zoomscroll'),
require('./features/touch'),
require('./features/movecanvas'),
// modeling components
require('./features/modeling'),
require('diagram-js/lib/features/move'),
require('./features/context-pad')
]);