Set title for picker to specify stroke/fill
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@344 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
1c9993d438
commit
75f1fe1adf
|
@ -580,8 +580,9 @@ function svg_edit_setup() {
|
|||
}
|
||||
}
|
||||
var pos = elem.position();
|
||||
picker = 'stroke';
|
||||
var picker = elem.attr('id') == 'stroke_color' ? 'stroke' : 'fill';
|
||||
$('#color_picker').css({'left': pos.left - 140, 'bottom': 104 - pos.top}).jPicker({
|
||||
window: { title: "Choose the " + picker + " color and opacity"},
|
||||
images: { clientPath: "jpicker/images/" },
|
||||
color: { active: color, alphaSupport: true }
|
||||
}, function(color){
|
||||
|
|
Loading…
Reference in New Issue