mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 17:44:12 +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, {
|
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': {
|
'lasso-tool': {
|
||||||
group: 'tools',
|
group: 'tools',
|
||||||
className: 'bpmn-icon-lasso-tool',
|
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': {
|
'tool-separator': {
|
||||||
group: 'tools',
|
group: 'tools',
|
||||||
separator: true
|
separator: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user