diff --git a/Directory.Build.props b/Directory.Build.props index 9d4601ad0..f7bc1b886 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -10,10 +10,4 @@ - - - - https://nuget-feed-nightly.avaloniaui.net/v3/index.json; - - diff --git a/NuGet.config b/NuGet.config new file mode 100644 index 000000000..dd4b0a925 --- /dev/null +++ b/NuGet.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/AtomUI.Desktop.Controls/Buttons/SplitButton.cs b/src/AtomUI.Desktop.Controls/Buttons/SplitButton.cs index a7b14fa2d..1e2db9db7 100644 --- a/src/AtomUI.Desktop.Controls/Buttons/SplitButton.cs +++ b/src/AtomUI.Desktop.Controls/Buttons/SplitButton.cs @@ -396,7 +396,7 @@ public class SplitButton : ContentControl, _flyoutBindingDisposables?.Dispose(); _flyoutBindingDisposables = new CompositeDisposable(8); - _flyoutBindingDisposables.Add(BindUtils.RelayBind(this, PlacementProperty, flyout)); + _flyoutBindingDisposables.Add(BindUtils.RelayBind(this, PlacementProperty, flyout, Flyout.RequestedPlacementProperty, (PlacementMode v) => (PlacementMode?)v)); _flyoutBindingDisposables.Add(BindUtils.RelayBind(this, PlacementAnchorProperty, flyout)); _flyoutBindingDisposables.Add(BindUtils.RelayBind(this, PlacementGravityProperty, flyout)); _flyoutBindingDisposables.Add(BindUtils.RelayBind(this, IsShowArrowProperty, flyout)); @@ -406,7 +406,7 @@ public class SplitButton : ContentControl, _flyoutBindingDisposables.Add(BindUtils.RelayBind(this, ShouldUseOverlayPopupProperty, flyout)); _flyoutBindingDisposables.Add(flyout.GetPropertyChangedObservable(Popup - .PlacementProperty) + .RequestedPlacementProperty) .Subscribe(HandleFlyoutPlacementPropertyChanged)); } }