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-75d572ba1dddmaster
parent
d1299beb5c
commit
a0aa794cb9
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue