Fix A/B overlap in landscape using fixed positioning; fix player idle frame to use lastDir

This commit is contained in:
justin committed 2026-05-21 09:22:19 -07:00
1 parent b7cb41687b
commit cb1d750f25
2 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -554,7 +554,7 @@ class Game {
p.style.left = cx + 'px';
p.style.bottom = bot + 'px';
p.className = 'map-player idle';
p.style.backgroundPositionX = idleFrames[this.state.pathDir] || '-32px';
p.style.backgroundPositionX = idleFrames[this.state.lastDir] || '-32px';
if (bub) { bub.style.left = (cx - 4) + 'px'; bub.style.bottom = (bot + 66) + 'px'; }
}
this._applyCamera();