Selaa lähdekoodia

Fixed mousetests

Tig 1 vuosi sitten
vanhempi
commit
bc8895faa2
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      UnitTests/View/MouseTests.cs

+ 2 - 0
UnitTests/View/MouseTests.cs

@@ -534,6 +534,7 @@ public class MouseTests (ITestOutputHelper output) : TestsAllViews
     {
         var view = new View ()
         {
+            CanFocus = true,
             HighlightStyle = highlightOnPress,
             Height = 1,
             Width = 1
@@ -588,6 +589,7 @@ public class MouseTests (ITestOutputHelper output) : TestsAllViews
     {
         var view = new View ()
         {
+            CanFocus = true,
             HighlightStyle = HighlightStyle.Pressed | HighlightStyle.PressedOutside,
             Height = 1,
             Width = 1