mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-30 16:07:38 +08:00
Compare commits
2 Commits
56a3a80b8d
...
a85fe6ace1
Author | SHA1 | Date | |
---|---|---|---|
|
a85fe6ace1 | ||
|
528c508584 |
@ -421,7 +421,7 @@ public:
|
||||
bool Focusable() const final { return true; }
|
||||
|
||||
void SetValue(Ref<T> val) {
|
||||
value_() = val();
|
||||
value_() = util::clamp(val(), min_(), max_());
|
||||
callback_(value_());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user