compiler guards on define scale and define z
This commit is contained in:
@@ -557,6 +557,7 @@
|
|||||||
(dictSet v "Percent" kiss_flixel.RelativeCoordinate.Percent)
|
(dictSet v "Percent" kiss_flixel.RelativeCoordinate.Percent)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(#when debug
|
||||||
(let [shortcutHandler (director.shortcutHandler)
|
(let [shortcutHandler (director.shortcutHandler)
|
||||||
cc ->(resume)]
|
cc ->(resume)]
|
||||||
(shortcutHandler.registerItem "[d]efine prop [s]cale"
|
(shortcutHandler.registerItem "[d]efine prop [s]cale"
|
||||||
@@ -593,7 +594,7 @@
|
|||||||
(if (Math.isNaN z)
|
(if (Math.isNaN z)
|
||||||
(print "Failed to parse ${zStr}. leaving value the same")
|
(print "Failed to parse ${zStr}. leaving value the same")
|
||||||
(stagePositions.put positionKey (new StagePosition position.x position.y z)))
|
(stagePositions.put positionKey (new StagePosition position.x position.y z)))
|
||||||
(cc)) }))))))))
|
(cc)) })))))))))
|
||||||
|
|
||||||
(prop &mut :flixel.ui.FlxBar bar null)
|
(prop &mut :flixel.ui.FlxBar bar null)
|
||||||
(prop &mut :Int barProgress 0)
|
(prop &mut :Int barProgress 0)
|
||||||
|
Reference in New Issue
Block a user