From 8ed4d6b0d8e67c43f1344439d8f2dc48a408d7f2 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Fri, 5 Nov 2010 16:18:37 +0000 Subject: [PATCH] Fixed dragging bug for color picker on gradient stops git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1843 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 04375d5e..7138db3c 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -3190,7 +3190,7 @@ var was_none = false; var pos = elem.position(); $("#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}) .jGraduate( {