Change shortcut keys to z, y and shift-z
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@198 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
48ec8a7c14
commit
d955ca51d1
|
@ -388,9 +388,9 @@ function svg_edit_setup() {
|
|||
$(document).bind('keydown', {combi:'down', disableInInput: true}, function(evt){moveSelected(0,1);evt.preventDefault();});
|
||||
$(document).bind('keydown', {combi:'left', disableInInput: true}, function(evt){moveSelected(-1,0);evt.preventDefault();});
|
||||
$(document).bind('keydown', {combi:'right', disableInInput: true}, function(evt){moveSelected(1,0);evt.preventDefault();});
|
||||
$(document).bind('keydown', {combi:'ctrl+z', disableInInput: true}, clickUndo);
|
||||
$(document).bind('keydown', {combi:'ctrl+shift+z', disableInInput: true}, clickRedo);
|
||||
$(document).bind('keydown', {combi:'ctrl+y', disableInInput: true}, clickRedo);
|
||||
$(document).bind('keydown', {combi:'z', disableInInput: true}, clickUndo);
|
||||
$(document).bind('keydown', {combi:'shift+z', disableInInput: true}, clickRedo);
|
||||
$(document).bind('keydown', {combi:'y', disableInInput: true}, clickRedo);
|
||||
|
||||
var colorPicker = function(elem) {
|
||||
$('.tools_flyout').hide();
|
||||
|
|
Loading…
Reference in New Issue