From 427ba3074ac9bfbcf0e9e362ae4781413829d943 Mon Sep 17 00:00:00 2001 From: "Ame :]" <104745335+ameknite@users.noreply.github.com> Date: Wed, 23 Aug 2023 06:35:42 -0600 Subject: [PATCH] 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. --- examples/window/window_settings.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/window/window_settings.rs b/examples/window/window_settings.rs index 4623c45308..37ae2ea80f 100644 --- a/examples/window/window_settings.rs +++ b/examples/window/window_settings.rs @@ -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()