explain colorPickerCSS default behavior in comments

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2802 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2014-04-09 01:33:11 +00:00
parent 1b5e55dc5c
commit 297f10489f
1 changed files with 2 additions and 2 deletions

View File

@ -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,