Negative delay when child relative x is negative #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
element.computedProperties.delay = Math.round(element.computedProperties.relativePos.x * interval / 100)When a child is to the left of its parent, the delay is negative. When given a negative timeout, the function setTimout will fire either immediately or according to the minimum of 4ms if the setTimeout is nested 5x.
Since the parent is muted, this bug cannot be heard, but this value should be capped at 0.
If the intention is for the child to play early, the structure should be changed because nested timeout can't produce that output.
changed the description
mentioned in commit
8d2c68d41dYes, that’s a non-expected but normal behavior. I want to experiment more with nesting to have a real opinion on it. Thanks for pointing this out. To be updated.