Skip to content

Commit 154c705

Browse files
committed
Don't vertically expand block snap previews
https://phabricator.endlessm.com/T35519
1 parent 936de49 commit 154c705

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/block_code/drag_manager/drag_manager.gd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ func _update_preview(snap_point: SnapPoint):
8989
preview_block.color = Color(1, 1, 1, 0.5)
9090
preview_block.custom_minimum_size = dragging.get_global_rect().size
9191
preview_block.size_flags_horizontal = Control.SIZE_SHRINK_BEGIN
92+
preview_block.size_flags_vertical = Control.SIZE_SHRINK_BEGIN
9293

9394
previewing_snap_point.add_child(preview_block)
9495

0 commit comments

Comments
 (0)