Skip to content

Commit e927734

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/notes.lua

Lines changed: 1 addition & 1 deletion
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)