From b0a1f3baa374cd4487f09f738e5a7cb877013a2f Mon Sep 17 00:00:00 2001 From: luboslenco Date: Sun, 19 Jan 2025 14:18:00 +0100 Subject: [PATCH] Cleanup --- base/sources/gizmo.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/sources/gizmo.ts b/base/sources/gizmo.ts index fc81bec6b..2003ae8ff 100644 --- a/base/sources/gizmo.ts +++ b/base/sources/gizmo.ts @@ -190,7 +190,8 @@ function gizmo_update() { else if (hit.object == context_raw.gizmo_scale_z) { context_raw.scale_z = true; } - if (context_raw.translate_x || context_raw.translate_y || context_raw.translate_z || context_raw.scale_x || context_raw.scale_y || context_raw.scale_z) { + if (context_raw.translate_x || context_raw.translate_y || context_raw.translate_z || + context_raw.scale_x || context_raw.scale_y || context_raw.scale_z) { context_raw.gizmo_offset = 0.0; context_raw.gizmo_started = true; }