only show tooltips when window in focus
This commit is contained in:
parent
e848a890ef
commit
b5b5234613
|
@ -25,5 +25,7 @@ on.draw = function()
|
|||
end
|
||||
draw_menu()
|
||||
draw_next_frames_of_animations()
|
||||
draw_button_tooltips(Global_state)
|
||||
if Window_in_focus then
|
||||
draw_button_tooltips(Global_state)
|
||||
end
|
||||
end
|
|
@ -0,0 +1 @@
|
|||
Window_focus = true
|
|
@ -0,0 +1,3 @@
|
|||
on.focus = function(in_focus)
|
||||
Window_in_focus = in_focus
|
||||
end
|
Loading…
Reference in New Issue