staltz / rxmarbles

Interactive diagrams of Rx Observables
http://www.rxmarbles.com
BSD 3-Clause "New" or "Revised" License
4.21k stars 536 forks source link

Do not hide overlapped marbles #14

Closed sirreal closed 7 years ago

sirreal commented 9 years ago

If you have two marbles in the same output, the "earlier" marble is completely hidden underneath the "later" marble. It appears that there is only one marble at that position, and it is unclear that there are actually multiple marbles at the same position.

I noticed this when looking at pausableBuffered. If you slide the pause false slider to the correct position, pausable and pausableBuffered appear to have the same behavior. This is confusing because pausableBuffered actually has overlapping marbles which can't be seen (until you open the source).

Here is pausable, where some marbles are absent from the result stream:

pausable

Compare with pausableBuffered, where marbles are present in the result stream (5, 6, 7) but appear to be absent due to overlap:

pausablebuffered

staltz commented 9 years ago

Yes, this is one of the next things to do https://github.com/staltz/rxmarbles/blob/master/TODO#L75 Currently working on animation, which is ~75% done.