From a0aa794cb97991cc259fe42f5735ec2cd9e3e12a Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Mon, 29 Jun 2009 21:48:42 +0000 Subject: [PATCH] Move color picker leftward so that it is (usually) always fully visible git-svn-id: http://svg-edit.googlecode.com/svn/trunk@228 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 b58eea26..75fc6390 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -440,7 +440,7 @@ function svg_edit_setup() { } var pos = elem.position(); picker = 'stroke'; - $('#color_picker').css({'left': pos.left + 40, 'bottom': 104 - pos.top}).jPicker({ + $('#color_picker').css({'left': pos.left - 140, 'bottom': 104 - pos.top}).jPicker({ images: { clientPath: "jpicker/images/" }, color: { active: color } }, function(color){