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
This commit is contained in:
@@ -272,6 +272,9 @@ function svg_edit_setup() {
|
|||||||
svgCanvas.setStrokeStyle(this.options[this.selectedIndex].value);
|
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(){
|
$('#group_opacity').change(function(){
|
||||||
svgCanvas.setOpacity(this.options[this.selectedIndex].value);
|
svgCanvas.setOpacity(this.options[this.selectedIndex].value);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user