diff --git a/haxe_libraries/hollywoo.hxml b/haxe_libraries/hollywoo.hxml index 28f9bf7..7bbcc56 100644 --- a/haxe_libraries/hollywoo.hxml +++ b/haxe_libraries/hollywoo.hxml @@ -1,6 +1,6 @@ -# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#632872c664863519a211cf4a38f45b46b1802763" into hollywoo/0.0.0/github/632872c664863519a211cf4a38f45b46b1802763 -# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/632872c664863519a211cf4a38f45b46b1802763" +# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#847f2aea739488f5686e33394e649c6e44e44d8b" into hollywoo/0.0.0/github/847f2aea739488f5686e33394e649c6e44e44d8b +# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/847f2aea739488f5686e33394e649c6e44e44d8b" -lib kiss -lib kiss-tools --cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/632872c664863519a211cf4a38f45b46b1802763/src/ +-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/847f2aea739488f5686e33394e649c6e44e44d8b/src/ -D hollywoo=0.0.0 \ No newline at end of file diff --git a/src/hollywoo_flixel/FlxDirector.kiss b/src/hollywoo_flixel/FlxDirector.kiss index 8c6e12b..3f2ab28 100644 --- a/src/hollywoo_flixel/FlxDirector.kiss +++ b/src/hollywoo_flixel/FlxDirector.kiss @@ -96,7 +96,8 @@ (sound.resume)))) (method :Void resume [] - (set FlxG.mouse.visible true) + (unless movie.promptedRecording + (set FlxG.mouse.visible true)) (FlxG.inputs.add actionManager) (FlxG.state.forEach ->:Void child @@ -823,7 +824,7 @@ (method scaleProp [:FlxSprite prop] (let [propKey (_propKey prop)] (unless (flxMovie.propScales.exists propKey) - (unless (Std.isOfType prop FlxText) + (unless (StringTools.contains propKey "anonProp") // Set the initial scale so the thing fits on the screen, at least (prop.setGraphicSize FlxG.width) (prop.updateHitbox) @@ -997,4 +998,7 @@ (FlxG.state.add inputIcon)) (method :Void hideInputIcon [] - (FlxG.state.remove inputIcon true)) \ No newline at end of file + (FlxG.state.remove inputIcon true)) + +(method :Void prepareForRecording [] + (set FlxG.mouse.visible false)) \ No newline at end of file