Skip to content

Commit

Permalink
bevy 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tomara-x committed Feb 18, 2024
1 parent 9951359 commit bfed0d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ version = "0.10.0"
bevy_egui = ["dep:bevy_egui"]

[dependencies]
bevy = {version = "0.12", features = ["bevy_render"], default-features = false}
bevy = {version = "0.13", features = ["bevy_render"], default-features = false}
bevy_egui = {version = "0.23", optional = true, default-features = false}

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fn max_scale_within_bounds(

fn camera_movement(
primary_window: Query<&Window, With<PrimaryWindow>>,
mouse_buttons: Res<Input<MouseButton>>,
mouse_buttons: Res<ButtonInput<MouseButton>>,
mut query: Query<(&PanCam, &mut Transform, &OrthographicProjection)>,
mut last_pos: Local<Option<Vec2>>,
) {
Expand Down

0 comments on commit bfed0d0

Please sign in to comment.