mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 03:24:32 -05:00
Merge pull request #99685 from arkology/texture-progress-cross-plugin-friendly
Show `TextureProgressBar` radial center cross only when editing the scene
This commit is contained in:
commit
dbb9c9937d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue