From 5cfcbf47ed386515adefe80f99f8e8f7e7f3ce5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Fri, 6 Sep 2024 08:00:43 +0200 Subject: [PATCH] fix imports in example ui_texture_slice_flip_and_tile (#15064) # Objective - don't use a sub crate in an example ## Solution - fix imports --- examples/ui/ui_texture_slice_flip_and_tile.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/ui/ui_texture_slice_flip_and_tile.rs b/examples/ui/ui_texture_slice_flip_and_tile.rs index 5d295ade57167..b0e13bf3299da 100644 --- a/examples/ui/ui_texture_slice_flip_and_tile.rs +++ b/examples/ui/ui_texture_slice_flip_and_tile.rs @@ -1,7 +1,10 @@ //! This example illustrates how to how to flip and tile images with 9-slicing in the UI. -use bevy::{prelude::*, winit::WinitSettings}; -use bevy_render::texture::{ImageLoaderSettings, ImageSampler}; +use bevy::{ + prelude::*, + render::texture::{ImageLoaderSettings, ImageSampler}, + winit::WinitSettings, +}; fn main() { App::new()