mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-13 18:46:05 +00:00
f1daf4841f
This fixes a bug where Modeling#updateLabel would not work on text annotations, because these need to have labels pre-configured. * Modeling#updateLabel now takes the (optional) newBounds * newBounds must now explicitly be passed to trigger resize for text annotations * newBounds is _only_ passed for text annotations via LabelEditingProvider (it was discarded before anyway) * lib/features/label-editing did not depend on lib/features/modeling for historical reasons. It now uses the offical #updateLabel API provided by Modeling * Localize test diagrams Closes #753
16 lines
536 B
JavaScript
16 lines
536 B
JavaScript
module.exports = {
|
|
__depends__: [
|
|
require('diagram-js/lib/features/align-elements'),
|
|
require('diagram-js/lib/features/editor-actions'),
|
|
require('diagram-js/lib/features/hand-tool'),
|
|
require('diagram-js/lib/features/lasso-tool'),
|
|
require('diagram-js/lib/features/space-tool'),
|
|
require('diagram-js-direct-editing'),
|
|
require('../global-connect'),
|
|
require('../copy-paste'),
|
|
require('../distribute-elements'),
|
|
require('../search')
|
|
],
|
|
editorActions: [ 'type', require('./BpmnEditorActions') ]
|
|
};
|