Skip to content

category_factory: Tweak tooltips #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions addons/block_code/ui/picker/categories/category_factory.gd
Original file line number Diff line number Diff line change
Expand Up @@ -175,23 +175,23 @@ static func get_general_blocks() -> Array[Block]:
b.block_name = "ready_block"
b.block_format = "On Ready"
b.statement = "func _ready():"
b.tooltip_text = 'The following will be executed when the node is "ready"'
b.tooltip_text = 'Attached blocks will be executed once when the node is "ready"'
b.category = "Lifecycle"
block_list.append(b)

b = BLOCKS["entry_block"].instantiate()
b.block_name = "process_block"
b.block_format = "On Process"
b.statement = "func _process(delta):"
b.tooltip_text = "The following will be executed during the processing step of the main loop"
b.tooltip_text = "Attached blocks will be executed during the processing step of the main loop"
b.category = "Lifecycle"
block_list.append(b)

b = BLOCKS["entry_block"].instantiate()
b.block_name = "physics_process_block"
b.block_format = "On Physics Process"
b.statement = "func _physics_process(delta):"
b.tooltip_text = 'The following will be executed during the "physics" processing step of the main loop'
b.tooltip_text = 'Attached blocks will be executed during the "physics" processing step of the main loop'
b.category = "Lifecycle"
block_list.append(b)

Expand Down