From 297f10489f9669330c8e485ed40e4a3e37665427 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 9 Apr 2014 01:33:11 +0000 Subject: [PATCH] explain colorPickerCSS default behavior in comments git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2802 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 5f853519..0828c0d3 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -113,7 +113,7 @@ TODOS opacity: 1 }, initOpacity: 1, - colorPickerCSS: null, + colorPickerCSS: null, // Defaults to 'left' with a position equal to that of the fill_color or stroke_color element minus 140, and a 'bottom' equal to 40 initTool: 'select', wireframe: false, showlayers: false, @@ -4021,7 +4021,7 @@ TODOS var pos = elem.offset(); $('#color_picker') .draggable({cancel: '.jGraduate_tabs, .jGraduate_colPick, .jGraduate_gradPick, .jPicker', containment: 'window'}) - .css(curConfig.colorPickerCSS || {'left': pos.left-140, 'bottom': 40}) + .css(curConfig.colorPickerCSS || {'left': pos.left - 140, 'bottom': 40}) .jGraduate( { paint: paint,