From 068155ce752f86eb35a69653b278f189ac3c371a Mon Sep 17 00:00:00 2001 From: George FunBook Date: Wed, 7 Aug 2024 11:58:26 -0500 Subject: [PATCH] check for flixel-addons for FlxUISlider --- flixel/addons/ui/FlxUISlider.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flixel/addons/ui/FlxUISlider.hx b/flixel/addons/ui/FlxUISlider.hx index fc9bd3cd..f7e818e2 100644 --- a/flixel/addons/ui/FlxUISlider.hx +++ b/flixel/addons/ui/FlxUISlider.hx @@ -4,6 +4,8 @@ package flixel.addons.ui; import flixel.addons.ui.FlxSlider; import flixel.addons.ui.interfaces.IFlxUIWidget; +#if !flixel_addons #error "haxelib flixel-addons required for FlxUISlider" #end + class FlxUISlider extends FlxSlider implements IFlxUIWidget { public var name:String;