fix: 元素使用默认大小时缓存尺寸不正确

This commit is contained in:
AncTe committed 2026-11-04 21:21:29 +08:00
1 parent 798c967e5e
commit a9ee163bee
1 file changed
+1
+1
View File
@@ -164,6 +164,7 @@ export abstract class RenderItem
this.transform.bind(this);
if (enableCache) {
this.cache = this.requireCanvas();
this.cache.size(this.width, this.height);
} else {
this.cache = null;
}