Display: orientation property should be typed as lime.system.Orientation instead of Int

This commit is contained in:
Josh Tynjala
2025-01-29 12:03:46 -08:00
parent 8f0b8f356e
commit bca04cdf49

View File

@@ -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.