Skip to content

Commit 5ab5a44

Browse files
author
pandamicro
committed
Fix widget ignoreSize default value issue
1 parent 889db73 commit 5ab5a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/cocostudio/loader/parsers/uiParser-1.x.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
var parser = new Parser();
129129

130130
parser.generalAttributes = function (widget, options) {
131-
widget._ignoreSize = options["ignoreSize"] || false;
131+
widget._ignoreSize = options["ignoreSize"] || true;
132132
widget._sizeType = options["sizeType"] || 0;
133133
widget._positionType = options["positionType"] || 0;
134134

0 commit comments

Comments
 (0)