Fixed Issue 148: Object navigation is lost after a new opacity is chosen in top toolbar

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@511 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-08-31 19:15:32 +00:00
parent bf280af753
commit 83edd78a11
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,9 @@ function svg_edit_setup() {
svgCanvas.setStrokeStyle(this.options[this.selectedIndex].value);
});
// Lose focus for select elements when changed (Allows keyboard shortcuts to work better)
$('select').change(function(){$(this).blur();});
$('#group_opacity').change(function(){
svgCanvas.setOpacity(this.options[this.selectedIndex].value);
});