fix imports in example ui_texture_slice_flip_and_tile (#15064)

# Objective

- don't use a sub crate in an example

## Solution

- fix imports
This commit is contained in:
François Mockers 2024-09-06 08:00:43 +02:00 committed by François
parent cd9fec3547
commit 79b248c7ce
No known key found for this signature in database

View file

@ -1,7 +1,10 @@
//! This example illustrates how to how to flip and tile images with 9-slicing in the UI. //! This example illustrates how to how to flip and tile images with 9-slicing in the UI.
use bevy::{prelude::*, winit::WinitSettings}; use bevy::{
use bevy_render::texture::{ImageLoaderSettings, ImageSampler}; prelude::*,
render::texture::{ImageLoaderSettings, ImageSampler},
winit::WinitSettings,
};
fn main() { fn main() {
App::new() App::new()