Skip to content

Commit 2d9ee62

Browse files
committed
Fixed doc typos
1 parent 5dfac50 commit 2d9ee62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/engine/renderer/text.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ game.createClass('Text', 'Container', {
167167
fontClass: null,
168168
/**
169169
If text height is higher than maxHeight value, text will be scaled down to fit maxHeight. 0 to disable.
170-
@propety {Number} maxHeight
171-
@defaul 0
170+
@property {Number} maxHeight
171+
@default 0
172172
**/
173173
maxHeight: 0,
174174
/**
175175
If text width is higher than maxWidth value, text will be scaled down to fit maxWidth. 0 to disable.
176-
@propety {Number} maxWidth
177-
@defaul 0
176+
@property {Number} maxWidth
177+
@default 0
178178
**/
179179
maxWidth: 0,
180180
/**

0 commit comments

Comments
 (0)