Add iced widget helper to display the iced logo ☄️
This commit is contained in:
parent
70f44a6e26
commit
5e6c9eeb7e
7 changed files with 56 additions and 30 deletions
|
|
@ -237,7 +237,7 @@ where
|
|||
let steps = (percent * (end - start) / step).round();
|
||||
let value = steps * step + start;
|
||||
|
||||
T::from_f64(value)
|
||||
T::from_f64(value.min(end))
|
||||
};
|
||||
|
||||
new_value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue