From 15bd2a9bc1d2356cad76502a701bfc4386f44ea4 Mon Sep 17 00:00:00 2001 From: arkology <43543909+arkology@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:00:50 +0300 Subject: [PATCH] Show TextureProgressBar radial cross only when editing the scene --- scene/gui/texture_progress_bar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/texture_progress_bar.cpp b/scene/gui/texture_progress_bar.cpp index 24c68e0188e..40311344170 100644 --- a/scene/gui/texture_progress_bar.cpp +++ b/scene/gui/texture_progress_bar.cpp @@ -536,7 +536,7 @@ void TextureProgressBar::_notification(int p_what) { } // Draw a reference cross. - if (Engine::get_singleton()->is_editor_hint()) { + if (is_part_of_edited_scene()) { Point2 p; if (nine_patch_stretch) {