Fixed dragging bug for color picker on gradient stops
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1843 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
3f7f951c81
commit
8ed4d6b0d8
|
@ -3190,7 +3190,7 @@
|
||||||
var was_none = false;
|
var was_none = false;
|
||||||
var pos = elem.position();
|
var pos = elem.position();
|
||||||
$("#color_picker")
|
$("#color_picker")
|
||||||
.draggable({cancel:'.jGraduate_tabs, .jGraduate_colPick, .jGraduate_gradPick', containment: 'window'})
|
.draggable({cancel:'.jGraduate_tabs, .jGraduate_colPick, .jGraduate_gradPick, .jPicker', containment: 'window'})
|
||||||
.css(curConfig.colorPickerCSS || {'left': pos.left, 'bottom': 50 - pos.top})
|
.css(curConfig.colorPickerCSS || {'left': pos.left, 'bottom': 50 - pos.top})
|
||||||
.jGraduate(
|
.jGraduate(
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue