Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 482f514

Browse files
author
Arthur
committed
Merge pull request ArthurHub#23 from helluvamatt/fix-mouseup
Call base.OnMouseUp instead of base.OnMouseClick from HtmlPanel.OnMouseUp
2 parents b764ad1 + d97f182 commit 482f514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/HtmlRenderer.WinForms/HtmlPanel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ protected override void OnMouseDown(MouseEventArgs e)
555555
/// </summary>
556556
protected override void OnMouseUp(MouseEventArgs e)
557557
{
558-
base.OnMouseClick(e);
558+
base.OnMouseUp(e);
559559
if (_htmlContainer != null)
560560
_htmlContainer.HandleMouseUp(this, e);
561561
}

0 commit comments

Comments
 (0)