Skip to content
Commit c7348650 authored by Milian Wolff's avatar Milian Wolff
Browse files

optimize: just draw a line for indentation-lines, instead of a many dots

Personally I never thought/saw that the indentation lines are supposed to be dotted.
To make things worse, the repetitive drawPoint calls where actually pretty slow,
slower even then text rendering in documents with many indentation levels

When we just draw a line, it's fast and looks still fine. the only difference
I see is that the dotted stuff had a bit less intensity due to its fake
alpha transparency by omitting every other pixel.

We could mimick that as well by desaturating the color or so if someone
really needs that, personally I'm fine with this "new" variant.
parent 42ad3bc5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment