Skip to content

Commit

Permalink
don't use keybindings that are only available in the beta
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jan 3, 2025
1 parent a88b27d commit a10ce26
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions gui/rename.lua
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ function Rename:init(info)
},
widgets.HotkeyLabel{
frame={b=3, l=0},
key='SECONDSCROLL_UP',
--key='SECONDSCROLL_UP', -- use when this is available in mainline DF
key='STRING_A045',
label='Prev component',
on_activate=function()
local clist = self.subviews.component_list
Expand All @@ -366,7 +367,8 @@ function Rename:init(info)
},
widgets.HotkeyLabel{
frame={b=2, l=0},
key='SECONDSCROLL_DOWN',
-- key='SECONDSCROLL_DOWN', -- use when this is available in mainline DF
key='STRING_A043',
label='Next component',
on_activate=function()
local clist = self.subviews.component_list
Expand Down Expand Up @@ -426,7 +428,8 @@ function Rename:init(info)
view_id='search',
frame={t=0, l=22},
label_text='Search: ',
ignore_keys={'SECONDSCROLL_DOWN', 'SECONDSCROLL_UP'}
-- ignore_keys={'SECONDSCROLL_DOWN', 'SECONDSCROLL_UP'}
ignore_keys={'STRING_A043', 'STRING_A045'},
},
widgets.CycleHotkeyLabel{
view_id='sort_english',
Expand Down

0 comments on commit a10ce26

Please sign in to comment.