tuanchauict / MonoSketch

An ASCII graph drawing app

Home Page:https://monosketch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A line gets dash pattern when spaces are overlapping the like

munetoshi opened this issue · comments

When a text is overlaps a line, the overlapped part gets hidden. However, the line is not hidden completely when spaces overlap a line. The actual behavior is making a dash pattern.

     ┌────────────┐ text               
─────┼─aaaaaaaaaa─┼────────────────────
     └────────────┘                    
                                       
                                       
    ┌─────────────┐ spaces             
────┤ ─ ─ ─ ─ ─ ─ ├────────────────────
    └─────────────┘                    
                                       
                                       
    ┌─────────────┐ empty              
────┼─────────────┼────────────────────
    └─────────────┘                    
[{"type":"L","v":691196009,"ps":"H|42|35","pe":"V|80|35","jps":["42|35","80|35"],"e":{"su":"S1","asu":"A1","aeu":"A1","du":"1|0|0"},"em":false},{"type":"T","v":-1000075866,"b":"47|34|14|3","t":"aaaaaaaaaa","e":{"be":{"fe":false,"fu":"F1","be":true,"bu":"S1","du":"1|0|0"},"tha":1,"tva":1}},{"type":"L","v":1860107435,"ps":"H|42|40","pe":"V|80|40","jps":["42|40","80|40"],"e":{"su":"S1","asu":"A1","aeu":"A1","du":"1|0|0"},"em":false},{"type":"T","v":369200961,"b":"46|39|15|3","t":"             ","e":{"be":{"fe":false,"fu":"F1","be":true,"bu":"S1","du":"1|0|0"},"tha":1,"tva":1}},{"type":"L","v":1536150512,"ps":"H|42|45","pe":"V|80|45","jps":["42|45","80|45"],"e":{"su":"S1","asu":"A1","aeu":"A1","du":"1|0|0"},"em":false},{"type":"T","v":-841319251,"b":"46|44|15|3","t":"","e":{"be":{"fe":false,"fu":"F1","be":true,"bu":"S1","du":"1|0|0"},"tha":1,"tva":1}},{"type":"T","v":-1581197583,"b":"62|39|7|2","t":"spaces","e":{"be":{"fe":false,"fu":"F1","be":false,"bu":"S1","du":"1|0|0"},"tha":0,"tva":0}},{"type":"T","v":2066749538,"b":"62|44|5|1","t":"empty","e":{"be":{"fe":false,"fu":"F1","be":false,"bu":"S1","du":"1|0|0"},"tha":0,"tva":0}},{"type":"T","v":1020696182,"b":"62|34|5|1","t":"text","e":{"be":{"fe":false,"fu":"F1","be":false,"bu":"S1","du":"1|0|0"},"tha":0,"tva":0}}]