You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #108782 from skyace65/Spinbox-link-fix
Fix spinbox formatting to fix linking
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="custom_arrow_step" type="float" setter="set_custom_arrow_step" getter="get_custom_arrow_step" default="0.0">
|
<member name="custom_arrow_step" type="float" setter="set_custom_arrow_step" getter="get_custom_arrow_step" default="0.0">
|
||||||
If not [code]0[/code], sets the step when interacting with the arrow buttons of the [SpinBox].
|
If not [code]0[/code], sets the step when interacting with the arrow buttons of the [SpinBox].
|
||||||
[b]Note:[/b] [member Range.value] will still be rounded to a multiple of [member step].
|
[b]Note:[/b] [member Range.value] will still be rounded to a multiple of [member Range.step].
|
||||||
</member>
|
</member>
|
||||||
<member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true" keywords="readonly, disabled, enabled">
|
<member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true" keywords="readonly, disabled, enabled">
|
||||||
If [code]true[/code], the [SpinBox] will be editable. Otherwise, it will be read only.
|
If [code]true[/code], the [SpinBox] will be editable. Otherwise, it will be read only.
|
||||||
|
|||||||
@@ -2151,6 +2151,12 @@ def format_text_block(
|
|||||||
state,
|
state,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
elif class_def.properties[target_name].overrides is not None:
|
||||||
|
print_error(
|
||||||
|
f'{state.current_class}.xml: Invalid member reference "{link_target}" in {context_name}. The reference must point to the original definition, not to the override.',
|
||||||
|
state,
|
||||||
|
)
|
||||||
|
|
||||||
elif tag_state.name == "signal" and target_name not in class_def.signals:
|
elif tag_state.name == "signal" and target_name not in class_def.signals:
|
||||||
print_error(
|
print_error(
|
||||||
f'{state.current_class}.xml: Unresolved signal reference "{link_target}" in {context_name}.',
|
f'{state.current_class}.xml: Unresolved signal reference "{link_target}" in {context_name}.',
|
||||||
|
|||||||
Reference in New Issue
Block a user