timdp/swirly

Missing left padding in diagram inside operator

demensky opened this issue · 3 comments

-1-2-3-4-5-|

> someOperator(() => `a|`)

-1-2-3-4-5-|

Actual behavior

Expected behavior

timdp commented

I've been meaning to look into that. Thanks again for creating a clear issue!

timdp commented

This should now be fixed on swirly.dev and will be included in the next release.

timdp commented

As a sidenote, the fix also deals with:

  • the same issue with "regular" observables rather than ones inside operators;
  • the right side of an observable's arrowhead being cut off inside operators.