Add iced widget helper to display the iced logo ☄️

This commit is contained in:
Héctor Ramón Jiménez 2024-07-11 04:33:19 +02:00
parent 70f44a6e26
commit 5e6c9eeb7e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
7 changed files with 56 additions and 30 deletions

View file

@ -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