diff --git a/editor/images/svg_edit_icons.svg b/editor/images/svg_edit_icons.svg index 8226efb..e6a361c 100644 --- a/editor/images/svg_edit_icons.svg +++ b/editor/images/svg_edit_icons.svg @@ -1,6 +1,28 @@  + + + + + + + + + + + + + + + + + + + + + + - + diff --git a/editor/jquery-draginput.js b/editor/jquery-draginput.js index 1cf63ef..282d352 100644 --- a/editor/jquery-draginput.js +++ b/editor/jquery-draginput.js @@ -97,14 +97,14 @@ $.fn.dragInput = function(cfg){ } this.updateCursor = function(){ - var value = parseFloat(this.value) - var pos = (value*-1)/scale+cursorHeight - $cursor.css("top", pos) + var value = parseFloat(this.value); + var pos = (value*-1)/scale+cursorHeight; + $cursor.css("top", pos); } - this.start = function(e) { + this.launch = function(e) { var selectedElems = canvas.getSelectedElems(); - if (isTouch) e = e.originalEvent.touches[0] + if (isTouch) e = e.originalEvent.touches[0]; var oy = e.pageY; var val = this.value; var el = this; @@ -123,7 +123,7 @@ $.fn.dragInput = function(cfg){ .bind("mousedown touchstart", function(e){ this.blur(); - this.start(e); + this.launch(e); }) .bind("dblclick taphold", function(e) { diff --git a/editor/svg-editor.html b/editor/svg-editor.html index f082434..1d06277 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -123,10 +123,10 @@