Skip to content

Commit d008f06

Browse files
authored
Merge pull request #175 from endlessm/fix-bottom-snap
Block: Set bottom_snap_path when ready
2 parents def3586 + c83d968 commit d008f06

File tree

1 file changed

+2
-0
lines changed
  • addons/block_code/ui/blocks/block

1 file changed

+2
-0
lines changed

addons/block_code/ui/blocks/block/block.gd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ func _set_bottom_snap_path(value: NodePath):
4545

4646

4747
func _ready():
48+
if bottom_snap == null:
49+
_set_bottom_snap_path(bottom_snap_path)
4850
mouse_filter = Control.MOUSE_FILTER_IGNORE
4951

5052

0 commit comments

Comments
 (0)