From cac6202e58c9fe8eed4ba19827d8e90d3ba2c9fc Mon Sep 17 00:00:00 2001 From: Jordan Date: Tue, 19 Jan 2016 17:00:59 -0800 Subject: [PATCH] #59 Remove double-bind of keypresses Z and Y Patch for Issue #59. https://github.com/SVG-Edit/svgedit/issues/59 --- editor/svg-editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 364b3679..c3274b97 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -4494,8 +4494,8 @@ TODOS {sel: '#tool_move_bottom', fn: moveToBottomSelected, evt: 'click', key: 'ctrl+shift+['}, {sel: '#tool_topath', fn: convertToPath, evt: 'click'}, {sel: '#tool_make_link,#tool_make_link_multi', fn: makeHyperlink, evt: 'click'}, - {sel: '#tool_undo', fn: clickUndo, evt: 'click', key: ['Z', true]}, - {sel: '#tool_redo', fn: clickRedo, evt: 'click', key: ['Y', true]}, + {sel: '#tool_undo', fn: clickUndo, evt: 'click'}, + {sel: '#tool_redo', fn: clickRedo, evt: 'click'}, {sel: '#tool_clone,#tool_clone_multi', fn: clickClone, evt: 'click', key: ['D', true]}, {sel: '#tool_group_elements', fn: clickGroup, evt: 'click', key: ['G', true]}, {sel: '#tool_ungroup', fn: clickGroup, evt: 'click'},