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
master
Jeff Schiller 2009-06-29 21:48:42 +00:00
parent d1299beb5c
commit a0aa794cb9
1 changed files with 1 additions and 1 deletions

View File

@ -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){