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

@@ -19,7 +19,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: 1.61.0
toolchain: 1.62.0
override: true
- name: Install packages (Linux)
if: runner.os == 'Linux'
@@ -84,7 +84,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.61.0
toolchain: 1.62.0
target: wasm32-unknown-unknown
override: true
@@ -136,7 +136,7 @@ jobs:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
rust-version: "1.61.0"
rust-version: "1.62.0"
android:
name: android
@@ -146,7 +146,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.61.0
toolchain: 1.62.0
target: aarch64-linux-android
override: true
- name: Set up cargo cache