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.
This commit is contained in:
parent
43d4dd0b7b
commit
5ce0fe5998
|
@ -1422,13 +1422,6 @@ bool EE_SELECTION_TOOL::selectMultiple()
|
||||||
selected = true;
|
selected = true;
|
||||||
flags |= ENDPOINT;
|
flags |= ENDPOINT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ( selected && selectionRect.Contains( line->GetMidPoint() ) )
|
|
||||||
|| ( !selected && line->HitTest( selectionRect, false ) ) )
|
|
||||||
{
|
|
||||||
selected = true;
|
|
||||||
flags |= STARTPOINT | ENDPOINT;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue