diff options
author | sfan5 <sfan5@live.de> | 2023-04-11 14:36:44 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-04-11 14:36:44 +0200 |
commit | 2d81374b3470aace9ccc42478e98c92aed479279 (patch) | |
tree | f52293d1e5d22313ee929f9cd653610408c9c942 /source/Irrlicht/CGUIListBox.h | |
parent | aa1696a7e6a275e613e7323e7f9553b7b7a0b7e0 (diff) | |
download | irrlicht-2d81374b3470aace9ccc42478e98c92aed479279.tar.xz |
Revert "Fix: Listbox was sometimes sending EGET_LISTBOX_SELECTED_AGAIN instead of EGET_LISTBOX_CHANGED."
This broke scrolling in listboxes, as they would always reset to top position.
reverts commit 1967d71cfba23fb54ac88cea64673f73af13bfda
Diffstat (limited to 'source/Irrlicht/CGUIListBox.h')
-rw-r--r-- | source/Irrlicht/CGUIListBox.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Irrlicht/CGUIListBox.h b/source/Irrlicht/CGUIListBox.h index 37fffa8..a3e7255 100644 --- a/source/Irrlicht/CGUIListBox.h +++ b/source/Irrlicht/CGUIListBox.h @@ -154,7 +154,6 @@ namespace gui core::array< ListItem > Items;
s32 Selected;
- s32 HoverSelected; // When >= 0 we're in the middle of changing selection while mouse is pressed. We need to know so selected again isn't called too often.
s32 ItemHeight;
s32 ItemHeightOverride;
s32 TotalItemHeight;
@@ -162,7 +161,7 @@ namespace gui gui::IGUIFont* Font;
gui::IGUISpriteBank* IconBank;
gui::IGUIScrollBar* ScrollBar;
- u32 SelectTime;
+ u32 selectTime;
u32 LastKeyTime;
core::stringw KeyBuffer;
bool Selecting;
|