Adapt book skin to detailed artwork

This commit is contained in:
2026-05-16 22:06:56 +02:00
parent f8911f6fc8
commit e1a5d5809d
5 changed files with 37 additions and 19 deletions
+2 -2
View File
@@ -178,8 +178,8 @@ class UIControllerModule extends BaseModule {
const viewportWidth = window.innerWidth;
const viewportHeight = window.innerHeight;
const viewportAspectRatio = viewportWidth / viewportHeight;
const bookWidth = 2727;
const bookHeight = 1691;
const bookWidth = 1421;
const bookHeight = 799;
const bookScale = Math.min(viewportWidth / bookWidth, viewportHeight / bookHeight);
document.documentElement.style.setProperty('--book-width', `${bookWidth}px`);