mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-29 09:08:58 +00:00
fmt
This commit is contained in:
@@ -240,8 +240,9 @@ pub(super) fn on_rotate(
|
|||||||
) {
|
) {
|
||||||
// Components from the gizmo root (the entity being transformed)
|
// Components from the gizmo root (the entity being transformed)
|
||||||
let Ok((mut xform, parent, init_xform, init_point, mut last_point, mut last_rotation)) =
|
let Ok((mut xform, parent, init_xform, init_point, mut last_point, mut last_rotation)) =
|
||||||
q_root.get_single_mut() else {
|
q_root.get_single_mut()
|
||||||
return;
|
else {
|
||||||
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
let gizmo_xform = q_gizmo.single();
|
let gizmo_xform = q_gizmo.single();
|
||||||
|
|||||||
Reference in New Issue
Block a user