mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fix for clicking inside selection
This commit is contained in:
parent
e6f722bf7a
commit
54d107e334
1 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@ namespace Beefy.widgets
|
|||
|
||||
public this(int startPos = 0, int endPos = 0)
|
||||
{
|
||||
Debug.Assert(startPos >= 0);
|
||||
Debug.Assert(endPos >= 0);
|
||||
mStartPos = (int32)startPos;
|
||||
mEndPos = (int32)endPos;
|
||||
}
|
||||
|
@ -819,7 +821,7 @@ namespace Beefy.widgets
|
|||
{
|
||||
mDragSelectionUnion = null;
|
||||
if ((mDragSelectionKind == .ClickedInside) && (btn == 0))
|
||||
mSelection = EditSelection();
|
||||
mSelection = null;
|
||||
mDragSelectionKind = .None;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue