mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
Don't draw fully transparent gizmo elements
This commit is contained in:
@@ -83,6 +83,9 @@ pub(super) fn draw(
|
||||
};
|
||||
|
||||
let alpha = fade_aligned_control(axes, &basis, cam_pos);
|
||||
if alpha.nearly_eq(0.) {
|
||||
continue;
|
||||
}
|
||||
|
||||
match (shape, color) {
|
||||
(Shape::Line(line), GizmoColor::Single(color)) => {
|
||||
|
||||
Reference in New Issue
Block a user