fix(Modeler): update move component name
This commit is contained in:
parent
b1a5ffb0b1
commit
db982770c3
|
@ -4,9 +4,9 @@ var bpmnModule = require('./di').defaultModule,
|
|||
Viewer = require('./Viewer');
|
||||
|
||||
require('./draw/BpmnRenderer');
|
||||
require('./feature/zoomscroll/Service');
|
||||
require('./feature/zoomscroll');
|
||||
|
||||
require('diagram-js/lib/features/dnd/Visuals');
|
||||
require('diagram-js/lib/features/move');
|
||||
require('diagram-js/lib/features/selection/Visuals');
|
||||
|
||||
|
||||
|
@ -28,7 +28,7 @@ Modeler.prototype.createDiagram = function() {
|
|||
return new Diagram({
|
||||
canvas: { container: this.container },
|
||||
modules: [ bpmnModule ],
|
||||
components: [ 'selectionVisuals', 'dragVisuals', 'zoomScroll' ]
|
||||
components: [ 'selectionVisuals', 'move', 'moveCanvas', 'zoomScroll' ]
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ function Viewer(options) {
|
|||
|
||||
var logoData = fs.readFileSync('resources/bpmnjs.png', 'base64');
|
||||
|
||||
var a = $('<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" draggable="false" />').css({
|
||||
var a = $('<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" />').css({
|
||||
position: 'absolute',
|
||||
bottom: 15,
|
||||
right: 15,
|
||||
|
|
Loading…
Reference in New Issue