From f882cd9f37e126a724438879ebd228bd3aa934ea Mon Sep 17 00:00:00 2001 From: Tig Date: Thu, 29 Aug 2024 13:13:45 -0400 Subject: [PATCH] Fixed CP unit test --- UnitTests/Views/ColorPickerTests.cs | 2 ++ 1 file changed, 2 insertions(+) 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 ();