new items ui - images can now be rotated/scaled
This commit is contained in:
parent
a529133698
commit
a6452fcfbf
5 changed files with 197 additions and 160 deletions
|
@ -24,6 +24,7 @@ fn main() {
|
|||
.insert_resource(UiState::default())
|
||||
.insert_resource(PointSize(6.0))
|
||||
.insert_resource(SnapGrid::default())
|
||||
.insert_resource(ui::SelectedItem::default())
|
||||
;
|
||||
|
||||
app
|
||||
|
@ -42,13 +43,14 @@ fn main() {
|
|||
if !ec.ctx_mut().is_pointer_over_area() && state.current_action == Action::Modify { ShouldRun::Yes } else { ShouldRun::No }
|
||||
))
|
||||
.add_system(ui::action_bar_sys)
|
||||
.add_system(ui::shape_tree_sys)
|
||||
.add_system(ui::items_tree_sys)
|
||||
.add_system(ui::inspector_sys)
|
||||
.add_system(ui::grid_window_sys)
|
||||
.add_system(show_hide_points)
|
||||
.add_system(color_points)
|
||||
.add_system(drag_camera_sys)
|
||||
.add_system(zoom_camera_sys)
|
||||
.add_system(scale_points)
|
||||
.add_system(ui::grid_window_sys)
|
||||
;
|
||||
|
||||
app.run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue