From bca04cdf49975011fb875792c19a52c9142a9a96 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Wed, 29 Jan 2025 12:03:46 -0800 Subject: [PATCH] Display: orientation property should be typed as lime.system.Orientation instead of Int --- src/lime/system/Display.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lime/system/Display.hx b/src/lime/system/Display.hx index 602b36b17..660f0eb89 100644 --- a/src/lime/system/Display.hx +++ b/src/lime/system/Display.hx @@ -28,7 +28,7 @@ class Display /** * Orientation of the display */ - public var orientation(default, null):Int; + public var orientation(default, null):Orientation; /** * The name of the device, such as "Samsung SyncMaster P2350", "iPhone 6", "Oculus Rift DK2", etc.