Small fix to last update

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@522 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-09-01 19:57:50 +00:00
parent 4225c9e318
commit 833e29f743
1 changed files with 1 additions and 3 deletions

View File

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