1
0
镜像自地址 https://github.com/minetest/irrlicht.git 已同步 2025-07-02 08:10:26 +02:00

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 1967d71cfb
这个提交包含在:
sfan5
2023-04-11 14:36:44 +02:00
父节点 aa1696a7e6
当前提交 2d81374b34
共有 2 个文件被更改,包括 16 次插入25 次删除

查看文件

@ -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;