You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: editor/src/messages/portfolio/document/graph_operation/graph_operation_message_handler.rs
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -593,9 +593,8 @@ fn import_usvg_path(
593
593
/// Set correct positions for all imported layers in a single top-down O(n) pass.
594
594
///
595
595
/// For each group's child stack:
596
-
/// - The top-of-stack child (last SVG child) gets an Absolute position at (parent_x - LAYER_INDENT_OFFSET, parent_y + STACK_VERTICAL_GAP)
597
-
/// - All other children get Stack(y_offset) where y_offset accounts for the subtree extent of
598
-
/// the sibling above them in the stack, ensuring no overlap.
596
+
/// - The top-of-stack child (last SVG child) gets an `Absolute` position at `(parent_x - LAYER_INDENT_OFFSET, parent_y + STACK_VERTICAL_GAP)`
597
+
/// - All other children get `Stack(y_offset)` where `y_offset` accounts for the subtree extent of the sibling above them in the stack, ensuring no overlap.
0 commit comments