I have 3 event streams for mouseDown, mouseUp and mouseMove. This works so far that when a user not hit the alt
Key it does something on mouse move until mouse up.
this.mouseDown
.filter((e) =>!e.altKey)
.flatMap(() => this.mouseMove.takeUntil(this.mouseUp))
.onValue((e) => this.setState({previewEndPoint: this.getNearestPoint(e)}));
My question is how can I react on the mouse up event in this case?