Skip to content

Commit e464c21

Browse files
fix warning
1 parent 396d1c5 commit e464c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_winit/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use bevy_math::{ivec2, Vec2};
1616
use bevy_utils::tracing::{error, trace, warn};
1717
use bevy_window::{
1818
CreateWindow, CursorEntered, CursorLeft, CursorMoved, FileDragAndDrop, ReceivedCharacter,
19-
WindowBackendScaleFactorChanged, WindowCloseRequested, WindowCreated, WindowFocused, WindowId,
19+
WindowBackendScaleFactorChanged, WindowCloseRequested, WindowCreated, WindowFocused,
2020
WindowMoved, WindowResized, WindowScaleFactorChanged, Windows,
2121
};
2222
use winit::{
@@ -497,7 +497,7 @@ pub fn winit_runner_with(mut app: App, mut event_loop: EventLoop<()>) {
497497
.unwrap();
498498

499499
window_created_events.send(WindowCreated {
500-
id: WindowId::primary(),
500+
id: bevy_window::WindowId::primary(),
501501
});
502502
}
503503
}

0 commit comments

Comments
 (0)