feat(palette): show hand-tool on top

This commit is contained in:
Nico Rehwaldt 2016-01-27 13:10:21 +01:00
parent 53fd754366
commit c3da49b4e5

View File

@ -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