fix: plant steps were wrongly showing statechart output events

This commit is contained in:
Joeri Exelmans 2025-11-06 21:26:17 +01:00
parent 8ed9267cb7
commit f5c427d61b
11 changed files with 104 additions and 33 deletions

View file

@ -156,4 +156,21 @@ export const digitalWatchPlant = makeStatechartPlant({
{ kind: "event", event: "bottomRightMouseUp" },
{ kind: "event", event: "bottomLeftMouseUp" },
],
signals: [
"lightOn",
"beep",
"alarmOn",
"displayingTime",
"displayingAlarm",
"displayingChrono",
"hideH",
"hideM",
"hideS",
// these properties are true for as long as the mouse button is down:
"topLeftPressed",
"topRightPressed",
"bottomRightPressed",
"bottomLeftPressed",
],
});