diff --git a/UnitTests/Views/ColorPickerTests.cs b/UnitTests/Views/ColorPickerTests.cs index 5d43b9643..2256c6ba2 100644 --- a/UnitTests/Views/ColorPickerTests.cs +++ b/UnitTests/Views/ColorPickerTests.cs @@ -478,6 +478,8 @@ public class ColorPickerTests public void ColorPicker_SwitchingColorModels_ResetsBars () { var cp = GetColorPicker (ColorModel.RGB, false); + cp.BeginInit (); + cp.EndInit (); cp.SelectedColor = new (255, 0); cp.Draw ();