Skip to content

Conversation

@manuq
Copy link
Contributor

@manuq manuq commented Dec 6, 2024

The "is_pointy_value" property depends on the block type to be Value. And the "control_part" property depends on the block type to be Control.

Grabacion.de.pantalla.desde.2024-12-06.15-24-47.webm

The "is_pointy_value" property depends on the block type to be Value.
And the "control_part" property depends on the block type to be Control.
@manuq
Copy link
Contributor Author

manuq commented Dec 6, 2024

This is not important at all, but something I learned about today and wanted to put it somewhere.

queue_redraw()


func _validate_property(property: Dictionary):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simply place related link from Godot document _validate_property()

func _set_block_type(new_block_type):
block_type = new_block_type
queue_redraw()
notify_property_list_changed()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simply place related link from Godot document notify_property_list_changed()

@starnight starnight merged commit 2c16ed4 into main Dec 9, 2024
3 checks passed
@starnight starnight deleted the improve-background-property branch December 9, 2024 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants