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
|
||||
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/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/44096b6338094d38b07d2db201299d58682d71d9"
|
||||
-lib kiss
|
||||
-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
|
@@ -493,8 +493,8 @@
|
||||
cc ->(resume)]
|
||||
(shortcutHandler.registerItem "[d]efine prop [s]cale"
|
||||
->cc
|
||||
(director.chooseString "Which prop?" (dictGet propsInScene sceneKey)
|
||||
->propKey
|
||||
(director.chooseString "Which prop?" (withCancel (dictGet propsInScene sceneKey))
|
||||
(unlessCancel propKey
|
||||
(withFunctions
|
||||
[
|
||||
(definePropScale [cc]
|
||||
@@ -509,7 +509,7 @@
|
||||
(cc)))))
|
||||
]
|
||||
(set lastCommand definePropScale)
|
||||
(definePropScale cc))))
|
||||
(definePropScale cc)))))
|
||||
(shortcutHandler.registerItem "[d]efine [z] of a position"
|
||||
->cc
|
||||
(director.chooseString "Which position?" (dictGet positionsInScene sceneKey)
|
||||
|
Reference in New Issue
Block a user