mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2025-10-13 10:38:33 +00:00
修复空组导致 cocos creator 编辑器崩溃
This commit is contained in:
3
psd2ui-tools/dist/index.js
vendored
3
psd2ui-tools/dist/index.js
vendored
@@ -1359,6 +1359,9 @@
|
||||
return true;
|
||||
}
|
||||
resize() {
|
||||
if (!this.children.length) {
|
||||
return;
|
||||
}
|
||||
let left = Number.MAX_SAFE_INTEGER;
|
||||
let right = Number.MIN_SAFE_INTEGER;
|
||||
let top = Number.MAX_SAFE_INTEGER;
|
||||
|
Reference in New Issue
Block a user