Skip to content

Commit

Permalink
Show TextureProgressBar radial cross only when editing the scene
Browse files Browse the repository at this point in the history
  • Loading branch information
arkology committed Nov 25, 2024
1 parent 0c45ace commit 15bd2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/texture_progress_bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 15bd2a9

Please sign in to comment.