Skip to content

Commit

Permalink
Merge pull request #2531 from cwensley/curtis/mac-checkbox-background…
Browse files Browse the repository at this point in the history
…-measure

Mac: no need to measure when setting CheckBox.BackgroundColor
  • Loading branch information
cwensley authored Jul 24, 2023
2 parents 32340ce + 392bd85 commit f871e80
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Eto.Mac/Forms/Controls/CheckBoxHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,5 @@ public bool ThreeState
set { Control.AllowsMixedState = value; }
}

protected override void SetBackgroundColor(Color? color)
{
base.SetBackgroundColor(color);
InvalidateMeasure();
}
}
}

0 comments on commit f871e80

Please sign in to comment.