Skip to content

Commit

Permalink
fix: Fold and normal items did not align in a UI.List() without a hea…
Browse files Browse the repository at this point in the history
…der.
  • Loading branch information
fuqunaga committed Jan 27, 2023
1 parent 38600ec commit 63ba1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packages/RosettaUI/Runtime/Builder/LayoutHint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static bool CanMinusIndent(this Element element)
// Row内なら一番左のみ有効
case RowElement row when row.Children.FirstOrDefault() != e:
return false;
case IndentElement:
case IndentElement or ListViewItemContainerElement:
return true;
}
}
Expand Down

0 comments on commit 63ba1c8

Please sign in to comment.