aboutsummaryrefslogtreecommitdiff
path: root/intervals.lua
diff options
context:
space:
mode:
Diffstat (limited to 'intervals.lua')
-rw-r--r--intervals.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/intervals.lua b/intervals.lua
index 807d970..53d6f46 100644
--- a/intervals.lua
+++ b/intervals.lua
@@ -208,7 +208,10 @@ function state_init(state)
end
function state_redraw(state)
- state_call(state, "redraw")
+ -- we need to call redraw() here instead of trying to
+ -- do anything, otherwise it'll draw over the settings
+ -- menus.
+ redraw()
end
function pop(state)
@@ -587,6 +590,8 @@ function redraw()
screen.aa(0)
screen.line_width(1)
+ -- this needs to be the only place this gets called,
+ -- otherwise the menu will be drawn over.
state_call(intervals_state, "redraw")
end