Skip to content

Commit

Permalink
Reorganize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mvlabat committed Apr 10, 2021
1 parent ec42192 commit b1cda3c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/egui_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use bevy::{
app::{Events, ManualEventReader},
asset::{AssetEvent, Assets, Handle},
core::AsBytes,
ecs::world::World,
log,
prelude::World,
render::{
pass::{
ClearColor, LoadOp, Operations, PassDescriptor,
Expand Down
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ use crate::{egui_node::EguiNode, systems::*, transform_node::EguiTransformNode};
use bevy::{
app::{AppBuilder, CoreStage, Plugin},
asset::{Assets, Handle, HandleUntyped},
ecs::{
schedule::{ParallelSystemDescriptorCoercion, StageLabel, SystemLabel, SystemStage},
system::IntoSystem,
},
input::InputSystem,
log,
prelude::{IntoSystem, ParallelSystemDescriptorCoercion, StageLabel, SystemLabel, SystemStage},
reflect::TypeUuid,
render::{
pipeline::{
Expand Down
6 changes: 3 additions & 3 deletions src/systems.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
use crate::{EguiContext, EguiInput, EguiOutput, EguiSettings, EguiShapes, WindowSize};
#[cfg(feature = "open_url")]
use bevy::log;
use bevy::{
app::EventReader,
core::Time,
ecs::system::SystemParam,
ecs::system::{Local, Res, ResMut, SystemParam},
input::{
keyboard::KeyCode,
mouse::{MouseButton, MouseScrollUnit, MouseWheel},
Input,
},
log,
prelude::{Local, Res, ResMut},
utils::HashMap,
window::{CursorLeft, CursorMoved, ReceivedCharacter, WindowFocused, WindowId, Windows},
winit::WinitWindows,
Expand Down
6 changes: 4 additions & 2 deletions src/transform_node.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
use crate::{EguiSettings, WindowSize, EGUI_TRANSFORM_RESOURCE_BINDING_NAME};
use bevy::{
core::AsBytes,
ecs::world::World,
prelude::{IntoSystem, Local, Res, ResMut, System},
ecs::{
system::{IntoSystem, Local, Res, ResMut, System},
world::World,
},
render::{
render_graph::{CommandQueue, Node, ResourceSlots, SystemNode},
renderer::{
Expand Down

0 comments on commit b1cda3c

Please sign in to comment.