Fixed bug related to path reorientation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@984 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
37392020ce
commit
7cbb5ebddc
|
@ -379,6 +379,7 @@ function svg_edit_setup() {
|
|||
var no_path = $.inArray(elname, ['image', 'text', 'path', 'g']) == -1;
|
||||
$('#tool_topath').toggle(no_path);
|
||||
$('#tool_reorient').toggle(elname == 'path');
|
||||
$('#tool_reorient').toggleClass('tool_button_disabled', angle == 0);
|
||||
} else {
|
||||
var point = svgCanvas.getNodePoint();
|
||||
if(point) {
|
||||
|
|
|
@ -2725,9 +2725,9 @@ function BatchCommand(text) {
|
|||
resetPathOrientation(elem, angle);
|
||||
addCommandToHistory(batchCmd);
|
||||
current_path = elem;
|
||||
resetPointGrips();
|
||||
setPointContainerTransform(""); // Maybe this should be in resetPointGrips?
|
||||
removeAllPointGripsFromPath();
|
||||
resetPointGrips();
|
||||
canvas.clearPath();
|
||||
|
||||
canvas.addToSelection([elem], true);
|
||||
call("changed", selectedElements);
|
||||
|
|
Loading…
Reference in New Issue