diff --git a/www/html/Game/public/css/style.css b/www/html/Game/public/css/style.css index 583693f..f2bbc14 100644 --- a/www/html/Game/public/css/style.css +++ b/www/html/Game/public/css/style.css @@ -505,7 +505,13 @@ body.editor-embed-admin .grid-cell-image-gallery-item img { } .canvas-wrap { margin: 1rem 0; } .container { padding-left: 1rem; padding-right: 1rem; } -#editor-canvas { background: #1a1b26; display: block; touch-action: none; } +#editor-canvas { + background: #1a1b26; + display: block; + touch-action: none; + image-rendering: pixelated; + image-rendering: crisp-edges; +} .game-wrap { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; } .game-header { flex-shrink: 0; background: #24283b; padding: 0.5rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; } .game-header span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @@ -517,6 +523,8 @@ body.editor-embed-admin .grid-cell-image-gallery-item img { min-height: 0; min-width: 0; touch-action: none; + image-rendering: pixelated; + image-rendering: crisp-edges; } .game-wrap .chat-panel { flex-shrink: 0; } .chat-panel { height: 160px; border-top: 1px solid #414868; display: flex; flex-direction: column; } diff --git a/www/html/Game/public/editor.html b/www/html/Game/public/editor.html index 5ae236d..2cb9968 100644 --- a/www/html/Game/public/editor.html +++ b/www/html/Game/public/editor.html @@ -6,7 +6,7 @@
เลื่อนพื้นหลังแนวตั้ง (เฉพาะฉากรหัส mnpz6rkp) — รูป intro ต่อด้วย loop · บันทึกฉากแล้วหน้าเล่นใช้ค่าเดียวกัน · English: Intro + looping strip; saved in map JSON.