Explorar o código

Fixed mousetests

Tig hai 1 ano
pai
achega
bc8895faa2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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