Skip to content

Commit

Permalink
Fix text
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Jun 3, 2023
1 parent a2c5761 commit 55f686a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simulator/js/objs/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ objTypes['text'] = {
createDropdownAttr(getMsg('fontname'), obj.fontName || 'Serif', fonts, function(obj, value) {
obj.fontName = value;
}, elem);
createDropdownAttr(getMsg('fontstyle'), obj.fontStyle, fontStyles || 'Normal', function(obj, value) {
createDropdownAttr(getMsg('fontstyle'), obj.fontStyle || 'Normal', fontStyles, function(obj, value) {
obj.fontStyle = value;
}, elem);
createDropdownAttr(getMsg('fontalignment'), obj.fontAlignmant, fontAlignmants || 'Left', function(obj, value) {
createDropdownAttr(getMsg('fontalignment'), obj.fontAlignmant || 'Left', fontAlignmants, function(obj, value) {
obj.fontAlignmant = value;
}, elem);
createBooleanAttr(getMsg('smallcaps'), obj.fontSmallCaps, function(obj, value) {
Expand Down

0 comments on commit 55f686a

Please sign in to comment.