diff options
author | Armen Kesablyan | 2012-02-13 02:20:23 -0800 |
---|---|---|
committer | Armen Kesablyan | 2012-02-13 02:20:23 -0800 |
commit | 36cefa3526988cb4dfea107fedaa954a2703260d (patch) | |
tree | 94a662f5fc01e5ff226d210f0fbff68be9ff9b9d /js/components | |
parent | 0bb13001ce07e5256a6e395325a898ab4ac93e1c (diff) | |
download | ninja-36cefa3526988cb4dfea107fedaa954a2703260d.tar.gz |
Fixed binding to font size dropdown
Diffstat (limited to 'js/components')
-rw-r--r-- | js/components/tools-properties/text-properties.reel/text-properties.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/tools-properties/text-properties.reel/text-properties.js b/js/components/tools-properties/text-properties.reel/text-properties.js index 7ae0cfda..88d38ffe 100644 --- a/js/components/tools-properties/text-properties.reel/text-properties.js +++ b/js/components/tools-properties/text-properties.reel/text-properties.js | |||
@@ -315,7 +315,7 @@ exports.TextProperties = Montage.create(ToolProperties, { | |||
315 | validateFontSize: { | 315 | validateFontSize: { |
316 | value: function(val) { | 316 | value: function(val) { |
317 | val = parseInt(val); | 317 | val = parseInt(val); |
318 | return this.fontSize.items[val]; | 318 | return this.fontSize.items[val - 1]; |
319 | } | 319 | } |
320 | }, | 320 | }, |
321 | 321 | ||