Skip to content

Commit 427ba30

Browse files
authored
fix bevy imports. windows_settings.rs example (#9547)
# Objective In #9355 was added an import using bevy_internal. This change the import to use `bevy::window` instead of a `bevy_internal` to run the example outside of the bevy repo.
1 parent ebdf506 commit 427ba30

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/window/window_settings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
use bevy::{
55
diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin},
66
prelude::*,
7-
window::{CursorGrabMode, PresentMode, WindowLevel, WindowTheme},
7+
window::{CursorGrabMode, PresentMode, PrimaryWindow, WindowLevel, WindowTheme},
88
};
9-
use bevy_internal::window::PrimaryWindow;
109

1110
fn main() {
1211
App::new()

0 commit comments

Comments
 (0)