Posted 19 years ago
by tobias weltner
When setting CurrentLineHighlightingVisible=true and specifying a color for CurrentLineHighlightBorderColor, there is a problem with drawing order:
CurrentLineHighlightBackColor: draws first so it appears to be transparent, all characters are drawn on top of it: good
CurrentLineHighlightBorderColor: draws last so it draws *over* all existing characters and glyphs: bad
This results in cut-off characters in the currently selected line. Also, when a node is collapsed, it draws over the square rectangle and results in a distorted display.
Could you maybe change the drawing order so that the border draws in the same "layer" as the background color?
Thanks!
CurrentLineHighlightBackColor: draws first so it appears to be transparent, all characters are drawn on top of it: good
CurrentLineHighlightBorderColor: draws last so it draws *over* all existing characters and glyphs: bad
This results in cut-off characters in the currently selected line. Also, when a node is collapsed, it draws over the square rectangle and results in a distorted display.
Could you maybe change the drawing order so that the border draws in the same "layer" as the background color?
Thanks!