From c3da49b4e5d536f337cdc2bfd6a39976201707b5 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Wed, 27 Jan 2016 13:10:21 +0100 Subject: [PATCH] feat(palette): show hand-tool on top --- lib/features/palette/PaletteProvider.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/features/palette/PaletteProvider.js b/lib/features/palette/PaletteProvider.js index f25ab3b7..abeda60a 100644 --- a/lib/features/palette/PaletteProvider.js +++ b/lib/features/palette/PaletteProvider.js @@ -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