mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 09:36:07 +00:00
feat(palette): show hand-tool on top
This commit is contained in:
parent
53fd754366
commit
c3da49b4e5
@ -68,6 +68,16 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
||||
}
|
||||
|
||||
assign(actions, {
|
||||
'hand-tool': {
|
||||
group: 'tools',
|
||||
className: 'bpmn-icon-hand-tool',
|
||||
title: 'Activate the hand tool',
|
||||
action: {
|
||||
click: function(event) {
|
||||
handTool.activateHand(event);
|
||||
}
|
||||
}
|
||||
},
|
||||
'lasso-tool': {
|
||||
group: 'tools',
|
||||
className: 'bpmn-icon-lasso-tool',
|
||||
@ -88,16 +98,6 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
||||
}
|
||||
}
|
||||
},
|
||||
'hand-tool': {
|
||||
group: 'tools',
|
||||
className: 'bpmn-icon-hand-tool',
|
||||
title: 'Activate the hand tool',
|
||||
action: {
|
||||
click: function(event) {
|
||||
handTool.activateHand(event);
|
||||
}
|
||||
}
|
||||
},
|
||||
'tool-separator': {
|
||||
group: 'tools',
|
||||
separator: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user