Skip to content

Commit

Permalink
Do not draw link lines in selection mode
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Jul 12, 2024
1 parent 7a7bdd1 commit 9b82152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawlevel.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2973,7 +2973,7 @@ proc drawLevel*(map: Map, levelId: Natural; ctx) =
if drawSelectionBuffer: drawSelectionHighlight(l.rows, l.cols, ctx)
if dp.drawCursorGuides: drawCursorGuides(ctx)

if dp.drawLinkLines:
if dp.drawLinkLines and not drawSelectionBuffer:
drawLinkLines(map, l, ctx)

vg.restore
Expand Down

0 comments on commit 9b82152

Please sign in to comment.