From 7860f0a01de797d90b0ea6507cf733fdeedcfaf1 Mon Sep 17 00:00:00 2001 From: Kangho Hur Date: Mon, 20 Mar 2017 17:42:10 +0900 Subject: [PATCH] Allow display rotation to Elmsharp.Test app Change-Id: I4e9bd5b64479c7b01b115152f54aa96802718eac --- test/ElmSharp.Test/TestRunner.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/ElmSharp.Test/TestRunner.cs b/test/ElmSharp.Test/TestRunner.cs index 267e9a8..c472650 100644 --- a/test/ElmSharp.Test/TestRunner.cs +++ b/test/ElmSharp.Test/TestRunner.cs @@ -100,7 +100,10 @@ namespace ElmSharp.Test private Window CreateWindow(bool isSecond = false) { - Window window = new Window("ElmSharp UI Tests"); + Window window = new Window("ElmSharp UI Tests") + { + AvailableRotations = DisplayRotation.Degree_0 | DisplayRotation.Degree_180 | DisplayRotation.Degree_270 | DisplayRotation.Degree_90 + }; window.Show(); if (isSecond) { -- 2.7.4