Skip to content

Commit 740ff17

Browse files
committed
reduce window resize logging from info to debug
1 parent 75d2d3f commit 740ff17

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
### Improved
55

66
- Made a pass through the API documentation and Tutorials, clarifying, correcting, and filling in blanks.
7+
- Reduced the debug level of logging the window dimension resizing from info to debug
78

89
## [5.0.5] - 2022-05-10
910

src/game.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use bevy::{
33
core::Time,
44
input::system::exit_on_esc_system,
55
prelude::{
6-
info, App, AssetServer, Color, Commands, Component, DefaultPlugins, Entity, EventReader,
6+
debug, App, AssetServer, Color, Commands, Component, DefaultPlugins, Entity, EventReader,
77
EventWriter, HorizontalAlign, OrthographicCameraBundle, ParallelSystemDescriptorCoercion,
88
ParamSet, Query, Res, ResMut, SpriteBundle, Text as BevyText, Text2dBundle, TextAlignment,
99
TextStyle, Transform, Vec2, VerticalAlign, Windows,
@@ -235,7 +235,7 @@ pub fn update_window_dimensions(windows: Res<Windows>, mut engine: ResMut<Engine
235235
let screen_dimensions = Vec2::new(window.width(), window.height());
236236
if screen_dimensions != engine.window_dimensions {
237237
engine.window_dimensions = screen_dimensions;
238-
info!("Set window dimensions: {}", engine.window_dimensions);
238+
debug!("Set window dimensions: {}", engine.window_dimensions);
239239
}
240240
}
241241

0 commit comments

Comments
 (0)