diff options
-rw-r--r-- | src/data/things.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data/things.js b/src/data/things.js index 33880460..ee458006 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -1461,7 +1461,16 @@ FlashAct.propertyDescriptors = { color: Thing.common.color(), anchor: Thing.common.simpleString(), jump: Thing.common.simpleString(), - jumpColor: Thing.common.color(), + + jumpColor: { + flags: {update: true, expose: true}, + update: {validate: isColor}, + expose: { + dependencies: ['color'], + transform: (jumpColor, {color}) => + jumpColor ?? color, + } + }, flashesByRef: Thing.common.referenceList(Flash), |