From c6b0f915f5be138743f0a5f1194c555b51cdea58 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Thu, 18 Sep 2025 12:12:49 +0200 Subject: [PATCH] Hide gizmo - play button for now --- paint/sources/ui_header.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/paint/sources/ui_header.ts b/paint/sources/ui_header.ts index 3ec0078b..28402dee 100644 --- a/paint/sources/ui_header.ts +++ b/paint/sources/ui_header.ts @@ -547,15 +547,14 @@ function ui_header_draw_tool_properties() { } if (context_raw.tool == tool_type_t.GIZMO) { - if (!sim_running && ui_button("Play")) { - sim_play(); - context_raw.selected_object = scene_camera.base; - } - if (sim_running && ui_button("Stop")) { - sim_stop(); - } - let h_record: ui_handle_t = ui_handle(__ID__); - sim_record = ui_check(h_record, tr("Record")); + // if (!sim_running && ui_button("Play")) { + // sim_play(); + // context_raw.selected_object = scene_camera.base; + // } + // if (sim_running && ui_button("Stop")) { + // sim_stop(); + // } + // let h_record: ui_handle_t = ui_handle(__ID__); + // sim_record = ui_check(h_record, tr("Record")); } } -