Woops - make italic/bold undo-able

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@272 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-07-06 15:03:56 +00:00
parent 09b0e8bd4f
commit 312d2766c5
1 changed files with 2 additions and 2 deletions

View File

@ -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");
}
};