Fixed bug in last revision where new font didn't affect element
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@990 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
73f6b976a8
commit
9ff715bbe1
|
@ -594,6 +594,10 @@ function svg_edit_setup() {
|
|||
}
|
||||
});
|
||||
|
||||
$('#font_family').change(function() {
|
||||
svgCanvas.setFontFamily(this.value);
|
||||
});
|
||||
|
||||
$('#seg_type').change(function() {
|
||||
svgCanvas.setSegType($(this).val());
|
||||
});
|
||||
|
@ -732,8 +736,7 @@ function svg_edit_setup() {
|
|||
|
||||
addDropDown('#font_family_dropdown', function() {
|
||||
var fam = $(this).text();
|
||||
$('#font_family').val(fam);
|
||||
svgCanvas.setFontFamily(fam);
|
||||
$('#font_family').val($(this).text()).change();
|
||||
});
|
||||
|
||||
addDropDown('#opacity_dropdown', function() {
|
||||
|
|
Loading…
Reference in New Issue