Add a way to put the "ExtraButtons" in a popup menu, use on control mapping screen

This commit is contained in:
Henrik Rydgård committed 2025-11-15 20:44:14 +01:00
1 parent 09d195c9ef
commit 8b52cf67af
16 files changed
+71 -19

No files matched your search

+3
View File
@@ -221,6 +221,9 @@ void Clickable::DrawBG(UIContext &dc, const Style &style) {
void Clickable::ClickInternal() {
UI::EventParams e{};
e.v = this;
if (hasAutoResult_) {
e.bubbleResult = autoResult_;
}
OnClick.Trigger(e);
};