mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-05-28 08:26:00 -04:00
Modified recomp UI event handling to allow event parameters using ":" as a delimiter
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
}
|
||||
void register_events(recomp::UiEventListenerInstancer& listener) override {
|
||||
recomp::register_event(listener, "apply_options",
|
||||
[](Rml::Event& event) {
|
||||
[](const std::string& param, Rml::Event& event) {
|
||||
cur_options = new_options;
|
||||
options_handle.DirtyVariable("options_changed");
|
||||
update_graphics_config(new_options);
|
||||
|
||||
Reference in New Issue
Block a user