NUVIE: Improve cursor responsiveness of main menu
Still need to re-generate the ultima.dat to include it, once I'm sure nothing else needs to be change prior to the next release
This commit is contained in:
parent
3c641c7aae
commit
71b9cad60e
1 changed files with 5 additions and 0 deletions
|
@ -3052,6 +3052,7 @@ local function main_menu()
|
|||
g_menu["title"].visible = true
|
||||
g_menu["subtitle"].visible = true
|
||||
g_menu["menu"].visible = true
|
||||
canvas_set_update_interval(10)
|
||||
|
||||
local input
|
||||
|
||||
|
@ -3064,6 +3065,8 @@ local function main_menu()
|
|||
end
|
||||
|
||||
if input ~= nil then
|
||||
canvas_set_update_interval(25)
|
||||
|
||||
if input == 113 then --q quit
|
||||
return "Q"
|
||||
elseif input == 105 or input == 13 and g_menu_idx == 0 then --i
|
||||
|
@ -3157,7 +3160,9 @@ local function main_menu()
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
input = nil
|
||||
canvas_set_update_interval(10)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue