Woops - make italic/bold undo-able
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@272 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1377,7 +1377,7 @@ function SvgCanvas(c)
|
||||
if (selected != null && selected.tagName == "text" &&
|
||||
selectedElements[1] == null)
|
||||
{
|
||||
selected.setAttribute("font-weight", b ? "bold" : "normal");
|
||||
this.changeSelectedAttribute("fill-weight", b ? "bold" : "normal");
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1396,7 +1396,7 @@ function SvgCanvas(c)
|
||||
if (selected != null && selected.tagName == "text" &&
|
||||
selectedElements[1] == null)
|
||||
{
|
||||
selected.setAttribute("font-style", i ? "italic" : "normal");
|
||||
this.changeSelectedAttribute("font-style", i ? "italic" : "normal");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user