summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-22 07:26:25 +0100
committerGitHub <noreply@github.com>2022-03-22 07:26:25 +0100
commitf7174aed1d37644964faf86af9d95f8f0d8358b2 (patch)
tree0ccc316154dda300cdcb61687693f047fe6abd8f
parent7d1c72217628ab043f87d1de1d604b5a94f390e3 (diff)
parente41a8904986898ddf038ea881c0b0d15b7cc18cb (diff)
Merge pull request #59402 from fire-forge/progressbar-group
Remove "Percent" group in ProgressBar
-rw-r--r--scene/gui/progress_bar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/progress_bar.cpp b/scene/gui/progress_bar.cpp
index 20b3513375..50ffb3ca67 100644
--- a/scene/gui/progress_bar.cpp
+++ b/scene/gui/progress_bar.cpp
@@ -100,7 +100,7 @@ bool ProgressBar::is_percent_visible() const {
void ProgressBar::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_percent_visible", "visible"), &ProgressBar::set_percent_visible);
ClassDB::bind_method(D_METHOD("is_percent_visible"), &ProgressBar::is_percent_visible);
- ADD_GROUP("Percent", "percent_");
+
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "percent_visible"), "set_percent_visible", "is_percent_visible");
}