aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
diff options
context:
space:
mode:
authorLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
committerLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
commit42aec6dac53dffa6afe072560a7e1d4986112538 (patch)
tree0836426857391df1b6a83f6368a183f83ec9b104 /Minecraft.Client/Common/UI/UIControl_SlotList.cpp
parentc9d58eeac7c72f0b3038e084667b4d89a6249fce (diff)
parentef9b6fd500dfabd9463267b0dd9e29577eea8a2b (diff)
Merge branch 'main' into pr/win64-world-saves
# Conflicts: # Minecraft.Client/MinecraftServer.cpp # README.md
Diffstat (limited to 'Minecraft.Client/Common/UI/UIControl_SlotList.cpp')
-rw-r--r--Minecraft.Client/Common/UI/UIControl_SlotList.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Minecraft.Client/Common/UI/UIControl_SlotList.cpp b/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
index e2130431..01d7b9e5 100644
--- a/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
+++ b/Minecraft.Client/Common/UI/UIControl_SlotList.cpp
@@ -22,6 +22,13 @@ bool UIControl_SlotList::setupControl(UIScene *scene, IggyValuePath *parent, con
return success;
}
+void UIControl_SlotList::ReInit()
+{
+ UIControl_Base::ReInit();
+
+ m_lastHighlighted = -1;
+}
+
void UIControl_SlotList::addSlot(int id)
{
IggyDataValue result;