Browse Source
Merge pull request #10689 from robloo/hamburgermenu-fix
Use SetCurrentValue to fix HamburgerMenu
knock-knock-are-integration-tests-even-alive
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
samples/SampleControls/HamburgerMenu/HamburgerMenu.cs
|
|
|
@ -57,7 +57,7 @@ namespace ControlSamples |
|
|
|
{ |
|
|
|
if (_splitView is not null && _splitView.DisplayMode == SplitViewDisplayMode.Overlay) |
|
|
|
{ |
|
|
|
_splitView.SetValue(SplitView.IsPaneOpenProperty, false, Avalonia.Data.BindingPriority.Animation); |
|
|
|
_splitView.SetCurrentValue(SplitView.IsPaneOpenProperty, false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|