hide mouse when recording
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#632872c664863519a211cf4a38f45b46b1802763" into 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/632872c664863519a211cf4a38f45b46b1802763"
|
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/847f2aea739488f5686e33394e649c6e44e44d8b"
|
||||||
-lib kiss
|
-lib kiss
|
||||||
-lib kiss-tools
|
-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
|
-D hollywoo=0.0.0
|
@@ -96,7 +96,8 @@
|
|||||||
(sound.resume))))
|
(sound.resume))))
|
||||||
|
|
||||||
(method :Void resume []
|
(method :Void resume []
|
||||||
(set FlxG.mouse.visible true)
|
(unless movie.promptedRecording
|
||||||
|
(set FlxG.mouse.visible true))
|
||||||
(FlxG.inputs.add actionManager)
|
(FlxG.inputs.add actionManager)
|
||||||
(FlxG.state.forEach
|
(FlxG.state.forEach
|
||||||
->:Void child
|
->:Void child
|
||||||
@@ -823,7 +824,7 @@
|
|||||||
(method scaleProp [:FlxSprite prop]
|
(method scaleProp [:FlxSprite prop]
|
||||||
(let [propKey (_propKey prop)]
|
(let [propKey (_propKey prop)]
|
||||||
(unless (flxMovie.propScales.exists propKey)
|
(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
|
// Set the initial scale so the thing fits on the screen, at least
|
||||||
(prop.setGraphicSize FlxG.width)
|
(prop.setGraphicSize FlxG.width)
|
||||||
(prop.updateHitbox)
|
(prop.updateHitbox)
|
||||||
@@ -997,4 +998,7 @@
|
|||||||
(FlxG.state.add inputIcon))
|
(FlxG.state.add inputIcon))
|
||||||
|
|
||||||
(method :Void hideInputIcon []
|
(method :Void hideInputIcon []
|
||||||
(FlxG.state.remove inputIcon true))
|
(FlxG.state.remove inputIcon true))
|
||||||
|
|
||||||
|
(method :Void prepareForRecording []
|
||||||
|
(set FlxG.mouse.visible false))
|
Reference in New Issue
Block a user