summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-30 15:12:51 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-30 15:25:45 +0200
commit4a127cb5fe02ffa4e0e7137bdef979cf1c158fb6 (patch)
tree65d83cecb0426d6b81e3253bea4acc268d00d123 /doc
parent8e0f328a80a4c01bc4788a9aa6daaeb3097b4fab (diff)
Improve usability of non-default values in the property inspector
- Provide a visual indication that a (sub)group contains non-default (revertable) values when it's collapsed. - Add a new option to the inspector's tools menu for expanding only (sub)groups containing properties with non-default values.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorProperty.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/EditorProperty.xml b/doc/classes/EditorProperty.xml
index 84f8523da3..586458bd28 100644
--- a/doc/classes/EditorProperty.xml
+++ b/doc/classes/EditorProperty.xml
@@ -101,6 +101,13 @@
Used by sub-inspectors. Emit it if what was selected was an Object ID.
</description>
</signal>
+ <signal name="property_can_revert_changed">
+ <argument index="0" name="property" type="StringName" />
+ <argument index="1" name="can_revert" type="bool" />
+ <description>
+ Emitted when the revertability (i.e., whether it has a non-default value and thus is displayed with a revert icon) of a property has changed.
+ </description>
+ </signal>
<signal name="property_changed">
<argument index="0" name="property" type="StringName" />
<argument index="1" name="value" type="Variant" />