竖屏封面

This commit is contained in:
strawberry42271 committed 2024-11-30 16:49:16 +08:00
1 parent 649bdf1121
commit fa07f67398
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -1933,6 +1933,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
main.dom.startBackground.setAttribute('__src__', startBackground);
main.dom.startBackground.src = startBackground;
}
if (core.domStyle.isVertical) {
main.dom.startBackground.style.width = "200%"
} else {
main.dom.startBackground.style.width = "100%"
}
}
const _resize_canvas = function (obj) { //自适应画布
main.dom.outerBackground.style.width = obj.totalWidth + 'px';