1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -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.19.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2021"
rust-version = "1.61"
rust-version = "1.62"
homepage = "https://github.com/emilk/egui/tree/master/crates/eframe"
license = "MIT OR Apache-2.0"
readme = "README.md"