Browse Source

Fixed CP unit test

Tig 11 tháng trước cách đây
mục cha
commit
f882cd9f37
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 ();