Fixed issue 345 and related attribute resets in FF bugs

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@991 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-12-03 16:15:07 +00:00
parent 9ff715bbe1
commit 59c4f0c739
1 changed files with 2 additions and 0 deletions

View File

@ -197,6 +197,8 @@ function svg_edit_setup() {
// called when any element has changed
var elementChanged = function(window,elems) {
// selectedElement must be updated here in case it was changed
selectedElement = (elems.length == 1 || elems[1] == null ? elems[0] : null);
for (var i = 0; i < elems.length; ++i) {
var elem = elems[i];
// if the element changed was the svg, then it could be a resolution change