allow cancel on definePropScale
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#96b34c54d8d8771d2018a3cf4df724058ebbacd3" into hollywoo/0.0.0/github/96b34c54d8d8771d2018a3cf4df724058ebbacd3
|
# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#44096b6338094d38b07d2db201299d58682d71d9" into hollywoo/0.0.0/github/44096b6338094d38b07d2db201299d58682d71d9
|
||||||
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/96b34c54d8d8771d2018a3cf4df724058ebbacd3"
|
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/44096b6338094d38b07d2db201299d58682d71d9"
|
||||||
-lib kiss
|
-lib kiss
|
||||||
-lib kiss-tools
|
-lib kiss-tools
|
||||||
-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/96b34c54d8d8771d2018a3cf4df724058ebbacd3/src/
|
-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/44096b6338094d38b07d2db201299d58682d71d9/src/
|
||||||
-D hollywoo=0.0.0
|
-D hollywoo=0.0.0
|
@@ -493,8 +493,8 @@
|
|||||||
cc ->(resume)]
|
cc ->(resume)]
|
||||||
(shortcutHandler.registerItem "[d]efine prop [s]cale"
|
(shortcutHandler.registerItem "[d]efine prop [s]cale"
|
||||||
->cc
|
->cc
|
||||||
(director.chooseString "Which prop?" (dictGet propsInScene sceneKey)
|
(director.chooseString "Which prop?" (withCancel (dictGet propsInScene sceneKey))
|
||||||
->propKey
|
(unlessCancel propKey
|
||||||
(withFunctions
|
(withFunctions
|
||||||
[
|
[
|
||||||
(definePropScale [cc]
|
(definePropScale [cc]
|
||||||
@@ -509,7 +509,7 @@
|
|||||||
(cc)))))
|
(cc)))))
|
||||||
]
|
]
|
||||||
(set lastCommand definePropScale)
|
(set lastCommand definePropScale)
|
||||||
(definePropScale cc))))
|
(definePropScale cc)))))
|
||||||
(shortcutHandler.registerItem "[d]efine [z] of a position"
|
(shortcutHandler.registerItem "[d]efine [z] of a position"
|
||||||
->cc
|
->cc
|
||||||
(director.chooseString "Which position?" (dictGet positionsInScene sceneKey)
|
(director.chooseString "Which position?" (dictGet positionsInScene sceneKey)
|
||||||
|
Reference in New Issue
Block a user