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:
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user