mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Update viewer.cpp
This commit is contained in:
@@ -111,7 +111,7 @@ void TextViewer::drawSelection(RotatedDC& dc, const TextStyle& style, size_t sel
|
|||||||
if (sel_start == sel_end) return;
|
if (sel_start == sel_end) return;
|
||||||
if (sel_end < sel_start) swap(sel_start, sel_end);
|
if (sel_end < sel_start) swap(sel_start, sel_end);
|
||||||
dc.SetBrush(*wxWHITE_BRUSH);
|
dc.SetBrush(*wxWHITE_BRUSH);
|
||||||
dc.SetPen(*wxTRANSPARENT_PEN);
|
dc.SetPen(*wxWHITE_PEN);
|
||||||
dc.SetLogicalFunction(wxXOR);
|
dc.SetLogicalFunction(wxXOR);
|
||||||
RealRect prev_rect(0,0,0,0);
|
RealRect prev_rect(0,0,0,0);
|
||||||
FOR_EACH(l, lines) {
|
FOR_EACH(l, lines) {
|
||||||
|
|||||||
Reference in New Issue
Block a user