File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -745,7 +745,7 @@ class FlxInputText extends FlxText
745
745
r .x = r .y = 0 ;
746
746
caret .pixels .fillRect (r , caretC ); // draw caret
747
747
caret .offset .x = caret .offset .y = 0 ;
748
- #if (flixel > "5.8.0")
748
+ #if (flixel > version( "5.8.0") )
749
749
case SHADOW_XY (shadowX , shadowY ):
750
750
// Shadow offset to the lower-right
751
751
cw + = Std .int (Math .abs (shadowX ));
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import flixel.FlxSprite;
4
4
import flixel .group .FlxSpriteGroup ;
5
5
import flixel .math .FlxRect ;
6
6
import flixel .addons .ui .interfaces .IFlxUIWidget ;
7
- #if (flixel >= "5.7.0")
7
+ #if (flixel >= version( "5.7.0") )
8
8
import flixel .group .FlxSpriteContainer ;
9
9
#end
10
10
11
- #if (flixel < "5.4.0" && FLX_NO_POINT_POOL)
11
+ #if (flixel < version( "5.4.0") && FLX_NO_POINT_POOL)
12
12
/* This is a weird haxe bug I haven't figured out, fixed in 5.4.0
13
13
* via https://github.com/HaxeFlixel/flixel/pull/2808
14
14
* Note: this is only the case when FLX_NO_POINT_POOL is defined.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import flixel.text.FlxText;
7
7
import flixel .util .FlxColor ;
8
8
import openfl .Assets ;
9
9
import openfl .text .TextFormatAlign ;
10
- #if (openfl >= "4.0.0")
10
+ #if (openfl >= version( "4.0.0") )
11
11
import openfl .utils .AssetType ;
12
12
#end
13
13
Original file line number Diff line number Diff line change 1
1
package flixel .addons .ui ;
2
2
3
3
import openfl .Assets ;
4
- #if (openfl >= "4.0.0")
4
+ #if (openfl >= version( "4.0.0") )
5
5
import openfl .utils .AssetType ;
6
6
#end
7
7
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import sys.FileSystem;
27
27
import sys .io .File ;
28
28
import sys .io .FileOutput ;
29
29
#end
30
- #if (openfl >= "4.0.0")
30
+ #if (openfl >= version( "4.0.0") )
31
31
import openfl .utils .AssetType ;
32
32
#end
33
33
#if haxe4
You can’t perform that action at this time.
0 commit comments