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