Fix bug in shift-click handling for stroke color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@137 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
8ce1b3fea7
commit
033062049f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue