Update viewer.cpp

This commit is contained in:
GenevensiS
2026-05-11 11:57:16 +02:00
parent b13de8e099
commit 72830ec218
+1 -1
View File
@@ -111,7 +111,7 @@ void TextViewer::drawSelection(RotatedDC& dc, const TextStyle& style, size_t sel
if (sel_start == sel_end) return;
if (sel_end < sel_start) swap(sel_start, sel_end);
dc.SetBrush(*wxWHITE_BRUSH);
dc.SetPen(*wxTRANSPARENT_PEN);
dc.SetPen(*wxWHITE_PEN);
dc.SetLogicalFunction(wxXOR);
RealRect prev_rect(0,0,0,0);
FOR_EACH(l, lines) {