viking icon indicating copy to clipboard operation
viking copied to clipboard

Sidebar zaps partially covered labels' background

Open jidanni opened this issue 1 year ago • 1 comments

No big deal, but when the sidebar partially covers labels, it zaps their background (but oddly their foreground is unscathed.)

white_labels_when_sidepanel

I.e., the white numbers are there, but their magenta background is gone.

jidanni avatar Feb 12 '24 02:02 jidanni

Agreed. The purple background is the highlight for the selected item (individual item or entire layer). There must a logic flaw in the drawing of the highlight, which is presumably not considering the text extents correctly. e.g. Appears to be that as text starts outside the viewport bounds it doesn't perform the background highlight - but of course the extent of the text (and/or the actual point position) is in bounds. The highlight logic should match foreground text drawing logic.

rnorris avatar Feb 16 '24 21:02 rnorris