Skip to content

Conversation

manuq
Copy link
Contributor

@manuq manuq commented Jul 30, 2024

The bottom_snap must be set on ready, regardless of previously setting it.

Regression from 9aae2bb

Fixes: #172

The bottom_snap must be set on ready, regardless of previously setting
it.

Regression from 9aae2bb

Fixes: #172
@manuq manuq requested review from dbnicholson and wnbaum July 30, 2024 11:38
Copy link
Member

@dbnicholson dbnicholson left a comment

Choose a reason for hiding this comment

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

Thanks. I'm still getting confused on when variables are set by Godot. I suppose that what's happening is that the node hasn't been added to the scene yet, so the initial get_node_or_null returns null.

@dbnicholson dbnicholson merged commit d008f06 into main Jul 30, 2024
2 checks passed
@dbnicholson dbnicholson deleted the fix-bottom-snap branch July 30, 2024 15:26
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.

Wrong code generation with two print blocks
2 participants