From e586207490573977df59930f8ef105ef7e0cb7bf Mon Sep 17 00:00:00 2001 From: George Kurelic Date: Mon, 10 Apr 2023 14:29:27 -0700 Subject: [PATCH] prevent compile warning in FlxUICursor.hx (#244) --- flixel/addons/ui/FlxUICursor.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flixel/addons/ui/FlxUICursor.hx b/flixel/addons/ui/FlxUICursor.hx index dbd5972..2839adb 100644 --- a/flixel/addons/ui/FlxUICursor.hx +++ b/flixel/addons/ui/FlxUICursor.hx @@ -559,9 +559,9 @@ class FlxUICursor extends FlxUISprite } switch (method) { - case XY: + case SortMethod.XY: list.sort(_sortXYVisible); - case ID: + case SortMethod.ID: list.sort(_sortIDVisible); } }