Small fix to last update
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@522 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
4225c9e318
commit
833e29f743
|
@ -263,9 +263,7 @@ function svg_edit_setup() {
|
|||
var changeStrokeWidth = function(ctl) {
|
||||
var val = ctl.value;
|
||||
if(val == 0 && selectedElement && $.inArray(selectedElement.nodeName, ['line', 'polyline']) != -1) {
|
||||
console.log('1');
|
||||
val = 1;
|
||||
ctl.value = 1;
|
||||
val = ctl.value = 1;
|
||||
}
|
||||
svgCanvas.setStrokeWidth(val);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue