Skip to content

Commit

Permalink
fixed focus on address in disasm window
Browse files Browse the repository at this point in the history
again (grrr)
  • Loading branch information
JetSetIlly committed Jan 29, 2022
1 parent c5ea9b6 commit f794fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/sdlimgui/win_disasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ func (win *winDisasm) drawBank(focusAddr uint16) {
// hasn't been drawn - ListClipper will only draw the entries that are
// currently visible and by it's nature, focusOnAddr will want to work
// with entries that may not be visible
if onBank && win.focusOnAddr && focusCtApply {
if onBank && focusCtApply {
y := imgui.FontSize() + imgui.CurrentStyle().ItemInnerSpacing().Y

// leave a small gap between the top of the scroll window and
Expand Down

0 comments on commit f794fb7

Please sign in to comment.