1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Use total_cmp for clamping drag value in order to avoid floating point ambiguities (#2213)

* Use total_cmp for clamping DragValue

* Added test for clamping

* Increase MSRV in all crates

* Increased rust version for github actions and lib.rs

* Inversed ranges are now working properply with clamp_to_range

* Added more tests
This commit is contained in:
ItsEthra
2022-11-02 21:38:39 +03:00
committed by GitHub
parent 34e6e12f00
commit 4d1e858a52
29 changed files with 75 additions and 36 deletions

View File

@@ -5,6 +5,6 @@
# to the user in the error, instead of "error: invalid channel name '[toolchain]'".
[toolchain]
channel = "1.61.0"
channel = "1.62.0"
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]