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-75d572ba1ddd
master
Alexis Deveria 2009-12-02 21:17:11 +00:00
parent 73f6b976a8
commit 9ff715bbe1
1 changed files with 5 additions and 2 deletions

View File

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