Tig пре 11 месеци
родитељ
комит
f882cd9f37
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      UnitTests/Views/ColorPickerTests.cs

+ 2 - 0
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 ();