Kaynağa Gözat

Fixed CP unit test

Tig 11 ay önce
ebeveyn
işleme
f882cd9f37
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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 ();