From 8f278e7095f258cee3e4c156df7a7164ee0e7408 Mon Sep 17 00:00:00 2001 From: orapps44 <77468294+orapps44@users.noreply.github.com> Date: Sun, 28 Feb 2021 23:12:01 +0100 Subject: [PATCH] Fix Cursor blinking Fix Cursor blinking bug introduce in version 2.1.4 ( see #151 ). --- MaterialSkin/Controls/MaterialForm.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/MaterialSkin/Controls/MaterialForm.cs b/MaterialSkin/Controls/MaterialForm.cs index e5eeb774..5322ccef 100644 --- a/MaterialSkin/Controls/MaterialForm.cs +++ b/MaterialSkin/Controls/MaterialForm.cs @@ -729,11 +729,9 @@ private void UpdateButtons(MouseEventArgs e, bool up = false) else if (_drawerButtonBounds.Contains(e.Location)) { _buttonState = ButtonState.DrawerOver; - Cursor = Cursors.Hand; } else { - if (_resizeDir == ResizeDirection.None) Cursor = Cursors.Default; _buttonState = ButtonState.None; } }