Change shortcut keys to z, y and shift-z

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@198 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-06-25 03:31:56 +00:00
parent 48ec8a7c14
commit d955ca51d1
1 changed files with 3 additions and 3 deletions

View File

@ -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();