From 5ce0fe5998530f8d747edf68aac612ff8c3b26f1 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Mon, 12 Dec 2022 12:07:40 -0500 Subject: [PATCH] Selection: drop non-greedy full line selection from middle It's too inconsistent to have greedy and non-greedy mode, and also have tweaks to the non-greedy mode that make it greedier. --- eeschema/tools/ee_selection_tool.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/eeschema/tools/ee_selection_tool.cpp b/eeschema/tools/ee_selection_tool.cpp index 9dbdbb82f0..1911a5424f 100644 --- a/eeschema/tools/ee_selection_tool.cpp +++ b/eeschema/tools/ee_selection_tool.cpp @@ -1422,13 +1422,6 @@ bool EE_SELECTION_TOOL::selectMultiple() selected = true; flags |= ENDPOINT; } - - if( ( selected && selectionRect.Contains( line->GetMidPoint() ) ) - || ( !selected && line->HitTest( selectionRect, false ) ) ) - { - selected = true; - flags |= STARTPOINT | ENDPOINT; - } } } else