Skip to content

Commit

Permalink
fix bevy imports. windows_settings.rs example (#9547)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
ameknite committed Aug 23, 2023
1 parent ebdf506 commit 427ba30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/window/window_settings.rs
Expand Up @@ -4,9 +4,8 @@
use bevy::{
diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin},
prelude::*,
window::{CursorGrabMode, PresentMode, WindowLevel, WindowTheme},
window::{CursorGrabMode, PresentMode, PrimaryWindow, WindowLevel, WindowTheme},
};
use bevy_internal::window::PrimaryWindow;

fn main() {
App::new()
Expand Down

0 comments on commit 427ba30

Please sign in to comment.