1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-30 22:40:17 +00:00

use 'never_keys' in more places

This commit is contained in:
Zeno Rogue
2025-12-17 22:15:39 +01:00
parent 6d3de975e3
commit 215f9881db
4 changed files with 15 additions and 11 deletions

View File

@@ -1490,10 +1490,12 @@ EX namespace dialog {
else
addSlider(ne.sc.direct(ne.vmin), ne.sc.direct(*ne.editwhat), ne.sc.direct(ne.vmax), 500);
addBreak(100);
#if !ISMOBILE
addHelp(XLAT("You can scroll with arrow keys -- Ctrl to fine-tune"));
addBreak(100);
#endif
if(!never_keys()) {
if(actual_display_keys()) addHelp(XLAT("You can scroll with arrow keys -- Ctrl to fine-tune"));
else addBreak(100);
addBreak(100);
}
dialog::addBack();
addSelItem(XLAT("default value"), disp(ne.dft), SDLK_HOME);