mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-23 20:11:32 +03:00
Fixed releasing splitter drag outside of form area
This commit is contained in:
parent
a6a2741922
commit
a29c055545
@ -104,6 +104,12 @@ namespace DarkUI
|
||||
|
||||
private void DragTimer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (_dockPanel.MouseButtonState != MouseButtons.Left)
|
||||
{
|
||||
StopDrag();
|
||||
return;
|
||||
}
|
||||
|
||||
var difference = new Point(_initialContact.X - Cursor.Position.X, _initialContact.Y - Cursor.Position.Y);
|
||||
_activeSplitter.UpdateOverlay(difference);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user