mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Fix live update
This commit is contained in:
1 parent
981f5dd634
commit
b1cf29bb38
2 files changed
+19
No files matched your search
@@ -1336,6 +1336,11 @@ bool Slider::ApplyKey(int keyCode) {
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
EventParams params{};
|
||||
params.v = this;
|
||||
params.a = (uint32_t)(*value_);
|
||||
params.f = (float)(*value_);
|
||||
OnChange.Trigger(params);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1457,6 +1462,11 @@ bool SliderFloat::ApplyKey(int keyCode) {
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
EventParams params{};
|
||||
params.v = this;
|
||||
params.a = (uint32_t)(*value_);
|
||||
params.f = (float)(*value_);
|
||||
OnChange.Trigger(params);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user