Fix A/B overlap in landscape using fixed positioning; fix player idle frame to use lastDir
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user