mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 09:27:40 +00:00
mousewheel now works in dialog lists
This commit is contained in:
10
dialogs.cpp
10
dialogs.cpp
@@ -848,6 +848,16 @@ EX namespace dialog {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(sym == PSEUDOKEY_WHEELUP && list_actual_size) {
|
||||||
|
sym = 0;
|
||||||
|
list_skip -= 30;
|
||||||
|
highlight_text = "//missing";
|
||||||
|
}
|
||||||
|
if(sym == PSEUDOKEY_WHEELDOWN && list_actual_size) {
|
||||||
|
sym = 0;
|
||||||
|
list_skip += 30;
|
||||||
|
highlight_text = "//missing";
|
||||||
|
}
|
||||||
if(DKEY == SDLK_PAGEDOWN) {
|
if(DKEY == SDLK_PAGEDOWN) {
|
||||||
uni = sym = 0;
|
uni = sym = 0;
|
||||||
for(int i=0; i<isize(items); i++)
|
for(int i=0; i<isize(items); i++)
|
||||||
|
Reference in New Issue
Block a user