Skip to content

Commit e927734

Browse files
committed
fix logic for notes overlay autoshow
1 parent e0eea95 commit e927734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/notes.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function NotesScreen:onRenderFrame(dc, rect)
335335
end
336336

337337
function NotesScreen:onAboutToShow()
338-
if overlay.isOverlayEnabled(OVERLAY_NAME) then
338+
if not overlay.isOverlayEnabled(OVERLAY_NAME) then
339339
self.should_disable_overlay = true
340340
overlay.overlay_command({'enable', 'notes.map_notes'})
341341
end

0 commit comments

Comments
 (0)