fix(palette): add missing create feature
This commit is contained in:
parent
af9ce652e2
commit
cb52a479e0
|
@ -5,7 +5,6 @@ module.exports = {
|
||||||
require('diagram-js/lib/features/selection'),
|
require('diagram-js/lib/features/selection'),
|
||||||
require('diagram-js/lib/features/connect'),
|
require('diagram-js/lib/features/connect'),
|
||||||
require('diagram-js/lib/features/create'),
|
require('diagram-js/lib/features/create'),
|
||||||
require('../modeling'),
|
|
||||||
require('../replace')
|
require('../replace')
|
||||||
],
|
],
|
||||||
__init__: [ 'contextPadProvider' ],
|
__init__: [ 'contextPadProvider' ],
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
__depends__: [
|
__depends__: [
|
||||||
require('diagram-js/lib/features/palette')
|
require('diagram-js/lib/features/palette'),
|
||||||
|
require('diagram-js/lib/features/create')
|
||||||
],
|
],
|
||||||
__init__: [ 'paletteProvider' ],
|
__init__: [ 'paletteProvider' ],
|
||||||
paletteProvider: [ 'type', require('./PaletteProvider') ]
|
paletteProvider: [ 'type', require('./PaletteProvider') ]
|
||||||
|
|
Loading…
Reference in New Issue