fix visibility of musicbox on hover
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/WalletViewModel.cs
@@ -118,11 +118,10 @@ public partial class WalletViewModel : WalletViewModelBase
IsMusicBoxVisible =
this.WhenAnyValue(x => x.IsSelected, x => x.IsWalletBalanceZero, x => x.CoinJoinStateViewModel.AreAllCoinsPrivate, x => x.IsPointerOver)
.Throttle(TimeSpan.FromMilliseconds(200), RxApp.MainThreadScheduler)
- .Select(
- tuple =>
+ .Select(tuple =>
{
var (isSelected, isWalletBalanceZero, areAllCoinsPrivate, pointerOver) = tuple;
- return (isSelected && !isWalletBalanceZero && !areAllCoinsPrivate || pointerOver) && !wallet.KeyManager.IsWatchOnly;
+ return (isSelected && !isWalletBalanceZero && (!areAllCoinsPrivate || pointerOver)) && !wallet.KeyManager.IsWatchOnly;
});
SendCommand = ReactiveCommand.Create(() => Navigate(NavigationTarget.DialogScreen).To(new SendViewModel(this)));

fix visibility of musicbox on hover