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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user