加载bug修复

This commit is contained in:
草莓 2024-12-01 23:08:59 +08:00
parent dd7fd6920a
commit 1db2345494

View File

@ -8794,7 +8794,7 @@ core.plugin.animate = {
} }
drawUI() { drawUI() {
core.clearMap(CGUI) core.clearMap(CGUI)
if (!core?.material?.images?.images['winskin1.png']) return if (!core?.material?.images?.images?.['winskin1.png']) return
if (core.domStyle.isVertical) { //竖屏 if (core.domStyle.isVertical) { //竖屏
core.drawWindowSkin('winskin1.png', ctx, 0, 0, 1248, 2028); core.drawWindowSkin('winskin1.png', ctx, 0, 0, 1248, 2028);
core.setTextAlign(ctx, 'center'); core.setTextAlign(ctx, 'center');