1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -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

@@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.61"
rust-version = "1.62"
publish = false