timbrel / GitSavvy

Full git and GitHub integration with Sublime Text
MIT License
1.9k stars 135 forks source link

Clear graph content lazy when we assume_complete_redraw #1860

Closed kaste closed 5 months ago

kaste commented 5 months ago

We cleared assume_complete_redraw directly in the run handler before.

Do this differently then. We still always clear the graph when assume_complete_redraw is set. But we do this immediately before drawing (t.i. in draw) or when the first token is not available within 100ms.

That means for fast repos, we clear and draw in the same tick, and Sublime Text will not produce any flicker.