Skip to content
Permalink
Browse files

- tested new avalonia build and minor fixes in mouse cursor handling

  • Loading branch information...
molnard committed Nov 18, 2018
1 parent 03479eb commit 6b9fb0b4892dae9ec10c15bdc6775c9f19bf41ce
Showing with 0 additions and 26 deletions.
  1. +0 −26 WalletWasabi.Gui/Behaviors/PasteAddressOnClickBehavior.cs
@@ -90,32 +90,6 @@ protected override void OnAttached()
})
};

_disposables.Add(
AssociatedObject.GetObservable(TextBox.PointerMovedEvent).Subscribe(pointer =>
{
switch (MyTextBoxState)
{
case TextBoxState.NormalTextBoxOperation:
{
AssociatedObject.Cursor = new Avalonia.Input.Cursor(Avalonia.Input.StandardCursorType.Ibeam);
}
break;

case TextBoxState.AddressInsert:
{
AssociatedObject.Cursor = new Avalonia.Input.Cursor(Avalonia.Input.StandardCursorType.Arrow);
}
break;

case TextBoxState.SelectAll:
{
AssociatedObject.Cursor = new Avalonia.Input.Cursor(Avalonia.Input.StandardCursorType.Arrow);
}
break;
}
})
);

_disposables.Add(
AssociatedObject.GetObservable(TextBox.PointerReleasedEvent).Subscribe(pointer =>
{

0 comments on commit 6b9fb0b

Please sign in to comment.
You can’t perform that action at this time.