Skip to content

Commit

Permalink
Fix triggered breakpoints showing up under game
Browse files Browse the repository at this point in the history
* Pin #run-overlay z-index to 1001 in css instead of constantly resetting it

* Remove prior the prior uncached temp fix limited to the browser I key
  • Loading branch information
pushfoo committed Nov 1, 2023
1 parent 5cb8360 commit 025f8c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ <h1>Touch Input Configuration</h1>
#decompile-cover img { width: 64px; height: 64px; align-self: center; }

#run-cover { flex-direction: column; }
#run-overlay { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; }
#run-overlay { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 1001; }
#run-controls { margin: 20px; }
#run-controls img { margin-right: 10px; cursor: pointer; }
#run-controls img:active { opacity: 0.5; }
Expand Down Expand Up @@ -903,7 +903,6 @@ <h1>Touch Input Configuration</h1>
if (event.key == '`') { stopRom() }
if (event.key == 'i') {
emulator.breakpoint ? clearBreakpoint() : haltBreakpoint('user interrupt');
var k = document.getElementById("run-overlay").style.zIndex = "1001";
}
if (event.key == 'p') { haltProfiler('profiler') }
if (event.key == 'm') { monitoring = !monitoring; setVisible(document.getElementById('monitor'),monitoring) }
Expand Down

0 comments on commit 025f8c9

Please sign in to comment.