Skip to content

Commit

Permalink
Change CI workflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
NiseVoid committed Mar 10, 2024
1 parent 8bd598e commit c9f429f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.75.0
toolchain: 1.76.0
components: clippy, rustfmt
- uses: actions/checkout@v3
- uses: actions/cache@v3
Expand All @@ -31,7 +31,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-build-1.75.0-${{ hashFiles('**/Cargo.toml') }}
key: ${{ runner.os }}-cargo-build-1.76.0-${{ hashFiles('**/Cargo.toml') }}
- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
if: runner.os == 'linux'
Expand Down
2 changes: 1 addition & 1 deletion src/render/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub fn extract(
let dpi = if let Ok(camera) = cameras.get(context.camera_entity) {
if let bevy::render::camera::RenderTarget::Window(WindowRef::Primary) = &camera.target {
if let Ok(window) = primary_window.get_single() {
window.scale_factor() as f32
window.scale_factor()
} else {
1.0
}
Expand Down
2 changes: 1 addition & 1 deletion src/render/unified/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub fn extract_baseline(
window_size: Extract<Res<WindowSize>>,
) {
let dpi = if let Ok(window) = windows.get_single() {
window.scale_factor() as f32
window.scale_factor()
} else {
1.0
};
Expand Down

0 comments on commit c9f429f

Please sign in to comment.