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.
This commit is contained in:
Ame :] 2023-08-23 06:35:42 -06:00 committed by GitHub
parent ebdf5063df
commit 427ba3074a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()