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-75d572ba1dddmaster
parent
9ff715bbe1
commit
59c4f0c739
|
@ -197,6 +197,8 @@ function svg_edit_setup() {
|
||||||
|
|
||||||
// called when any element has changed
|
// called when any element has changed
|
||||||
var elementChanged = function(window,elems) {
|
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) {
|
for (var i = 0; i < elems.length; ++i) {
|
||||||
var elem = elems[i];
|
var elem = elems[i];
|
||||||
// if the element changed was the svg, then it could be a resolution change
|
// if the element changed was the svg, then it could be a resolution change
|
||||||
|
|
Loading…
Reference in New Issue