Skip to content

Commit f6a955a

Browse files
committed
Fix Nome clint errors
1 parent e797859 commit f6a955a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

SkinFramWorkCore/NonClientTheme.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,22 +575,23 @@ private void OnWmNcMouseMove(ref Message m)
575575
case NCHITTEST.HTMINBUTTON:
576576
if(this.IsDrawMinimizeBox())
577577
{
578-
captionButton = CaptionButton.Minimize;
578+
_captionButton = CaptionButton.Minimize;
579579
_buttonState = DwmButtonState.Hot;
580580
OnWmNcPaint(ref m);
581581
}
582-
_
582+
583583
break;
584584
case NCHITTEST.HTMAXBUTTON:
585-
if(this.DrawMaximizeButton())}
585+
586+
if(this.IsDrawMaximizeBox())
586587
{
587588
_captionButton = CaptionButton.Maximize;
588589
_buttonState = DwmButtonState.Hot;
589590
OnWmNcPaint(ref m);
590-
break;
591+
591592
}
592-
593593

594+
break;
594595
case NCHITTEST.HTCLOSE:
595596
_buttonState = DwmButtonState.Hot;
596597
_captionButton = CaptionButton.Close;

0 commit comments

Comments
 (0)