소스 검색

Fixed CP unit test

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 ();