fix filebrowser touch (related to f2462cff81).

the fix in commit f2462cff81 broke split screen.
this commit properly fixes the touch and split screen buttons.
This commit is contained in:
ITotalJustice
2025-06-17 11:46:34 +01:00
parent 7730eacea8
commit 070be1ff94
2 changed files with 13 additions and 11 deletions

View File

@@ -62,6 +62,12 @@ struct Widget : public Object {
m_actions.clear();
}
void RemoveActions(const Actions& actions) {
for (auto& e : actions) {
RemoveAction(e.first);
}
}
auto FireAction(Button button, u8 type = ActionType::DOWN) -> bool;
void SetPop(bool pop = true) {