Skip to content

Commit

Permalink
Merge pull request #178 from pushfoo/fix_bad_z_index_on_breakpoints
Browse files Browse the repository at this point in the history
Fix triggered breakpoints showing up under canvas until i key is pressed
  • Loading branch information
JohnEarnest committed Nov 2, 2023
2 parents c1b8988 + 025f8c9 commit 1d28351
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 1d28351

Please sign in to comment.