mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Switch MouseDown event to MouseUp in NikseUpDown control
The code changes correct an event handling in the NikseUpDown custom control. Previously, the base's OnMouseDown event was called, but the correct behavior should be to call the base's OnMouseUp event. This switch ensures the control responds properly to mouse interactions. Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
This commit is contained in:
parent
31ed11f60a
commit
6b42f9a0ad
@ -532,7 +532,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
_buttonLeftIsDown = false;
|
||||
Invalidate();
|
||||
}
|
||||
base.OnMouseDown(e);
|
||||
base.OnMouseUp(e);
|
||||
}
|
||||
|
||||
protected override void OnMouseMove(MouseEventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user