1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Hide ineffective TextureProgressBar properties in the editor

Radial fill properties only have an effect when using a radial fill mode.
Stretch margin properties only have an effet when Nine Patch Stretch
is enabled.
This commit is contained in:
Hugo Locurcio
2023-11-15 16:18:22 +01:00
parent cc135c5821
commit 9f1870ec49
3 changed files with 26 additions and 13 deletions

View File

@@ -43,6 +43,7 @@ class TextureProgressBar : public Range {
protected:
static void _bind_methods();
void _notification(int p_what);
void _validate_property(PropertyInfo &p_property) const;
public:
enum FillMode {