Fix bug in shift-click handling for stroke color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@137 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -163,7 +163,8 @@ function svg_edit_setup() {
|
|||||||
} else {
|
} else {
|
||||||
$(id).css('background', color);
|
$(id).css('background', color);
|
||||||
}
|
}
|
||||||
svgCanvas.setFillColor(color);
|
if (evt.shiftKey) svgCanvas.setStrokeColor(color);
|
||||||
|
else svgCanvas.setFillColor(color);
|
||||||
});
|
});
|
||||||
|
|
||||||
// This is a common function used when a tool has been clicked (chosen)
|
// This is a common function used when a tool has been clicked (chosen)
|
||||||
|
|||||||
Reference in New Issue
Block a user