1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-02 10:19:04 +00:00

moved never_keys to better place in file

This commit is contained in:
Zeno Rogue
2025-12-17 22:14:49 +01:00
parent dcdad9fa0a
commit 6d3de975e3

View File

@@ -482,10 +482,6 @@ EX namespace dialog {
highlight_text = s; highlight_key = PSEUDOKEY_SELECT;
}
EX bool never_keys() {
return ISMOBILE || among(display_keys, 0, 3);
}
EX void measure() {
tothei = 0;
dialogwidth = 0;
@@ -733,6 +729,10 @@ EX namespace dialog {
return false;
}
EX bool never_keys() {
return ISMOBILE || among(display_keys, 0, 3);
}
EX void display() {
callhooks(hooks_display_dialog);