Possibly fixed issue 353
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1006 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
9279ba0a1d
commit
1986b452ed
|
@ -3597,12 +3597,12 @@ function BatchCommand(text) {
|
|||
// set our current stroke/fill properties to the element's
|
||||
var selected = selectedElements[0];
|
||||
if (selected.tagName != "g" && selected.tagName != "image") {
|
||||
cur_shape.fill = selected.getAttribute("fill");
|
||||
cur_shape.fill_opacity = selected.getAttribute("fill-opacity");
|
||||
cur_shape.stroke = selected.getAttribute("stroke");
|
||||
cur_shape.stroke_opacity = selected.getAttribute("stroke-opacity");
|
||||
cur_shape.stroke_width = selected.getAttribute("stroke-width");
|
||||
cur_shape.stroke_style = selected.getAttribute("stroke-dasharray");
|
||||
cur_properties.fill = selected.getAttribute("fill");
|
||||
cur_properties.fill_opacity = selected.getAttribute("fill-opacity");
|
||||
cur_properties.stroke = selected.getAttribute("stroke");
|
||||
cur_properties.stroke_opacity = selected.getAttribute("stroke-opacity");
|
||||
cur_properties.stroke_width = selected.getAttribute("stroke-width");
|
||||
cur_properties.stroke_style = selected.getAttribute("stroke-dasharray");
|
||||
}
|
||||
if (selected.tagName == "text") {
|
||||
cur_text.font_size = selected.getAttribute("font-size");
|
||||
|
|
Loading…
Reference in New Issue