Skip to content

Conversation

0b5vr
Copy link
Owner

@0b5vr 0b5vr commented Mar 12, 2023

Each channel now has an init property.

Channels now have a value specified as init until the first item.
Also, the value will be reset to init when items have reset.

Note that it does not emit an event.
If you want to emit an event on start, you still need to put an item on time = 0.0.

@0b5vr 0b5vr added category: ✨ New Feature Boost our productivity! category: 💡 Behavior Changes package: core @0b5vr/automaton package: gui @0b5vr/automaton-with-gui labels Mar 12, 2023
@0b5vr 0b5vr added this to the v4.3.0 milestone Mar 12, 2023
@0b5vr 0b5vr self-assigned this Mar 12, 2023
0b5vr added 9 commits March 13, 2023 00:04
binarySearch condition should be lte instead of lt, otherwise it doesn't react when an item just starts
I don't remember when I wrote this
item.reset still changes the value back to zero :<
I might want to improve this in the next breaking update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: 💡 Behavior Changes category: ✨ New Feature Boost our productivity! package: core @0b5vr/automaton package: gui @0b5vr/automaton-with-gui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant