This commit is contained in:
sfence 2024-05-17 20:57:01 +02:00 committed by GitHub
commit 2a991c97e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -4098,6 +4098,8 @@ bool GUIFormSpecMenu::preprocessEvent(const SEvent& event)
skin->setFont(m_font);
bool retval = hovered->OnEvent(event);
skin->setFont(old_font);
// This is expected to be set to BET_OTHER with mouse UP event
m_held_mouse_button = BET_OTHER;
return retval;
}
}