Skip to content

Commit 7fc276f

Browse files
committed
fix: left sidebar layout did not update sometimes (#2832)
Signed-off-by: leo <longshuang@msn.cn>
1 parent 8f8aaea commit 7fc276f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/Views/Repository.axaml.cs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ public bool IsNormalSidebarVisible
3838
set
3939
{
4040
if (SetAndRaise(IsNormalSidebarVisibleProperty, ref _isNormalSidebarVisible, value))
41+
{
4142
CalculateSidebarWidth();
43+
if (value)
44+
UpdateLeftSidebarLayout();
45+
}
4246
}
4347
}
4448

0 commit comments

Comments
 (0)