Fix player position by removing wrapper div, position bubble independently

This commit is contained in:
justin committed 2026-05-20 09:42:02 -07:00
1 parent 4d56d01c53
commit 19c2c14eef
3 files changed
+25 -23

No files matched your search

+3 -6
View File
@@ -93,7 +93,6 @@
<div class="map-right">
<div class="prog-bar-outer"><div class="prog-bar-inner" id="map-prog-bar"></div></div>
<span class="prog-text" id="map-prog-text">0/100</span>
<span class="save-dot" id="save-dot" title="Auto-saved">💾</span>
<span class="music-toggle" id="music-toggle" title="Mute/Unmute Music">🎵</span>
</div>
</div>
@@ -108,11 +107,9 @@
<div class="npc-bubble" id="npc-bubble">!</div>
<div class="map-npc" id="map-npc"></div>
</div>
<!-- Player stays fixed to viewport, only Y moves -->
<div class="map-player-wrap" id="map-player-wrap">
<div class="player-bubble" id="player-bubble">...</div>
<div class="map-player" id="map-player"></div>
</div>
<!-- Player stays fixed to viewport, only Y moves -->\
<div class="player-bubble" id="player-bubble">...</div>
<div class="map-player" id="map-player"></div>
<!-- Hints overlay the viewport, not the world -->
<div class="map-talk-hint" id="map-talk-hint" style="display:none"><span class="hint-pc">Press E</span><span class="hint-touch">Press A</span></div>
<div class="map-dir-arrow" id="map-dir-arrow" style="display:none">▶</div>