Browse Source

Show TextureProgressBar radial cross only when editing the scene

arkology 11 months ago
parent
commit
15bd2a9bc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/gui/texture_progress_bar.cpp

+ 1 - 1
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) {