mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Fix ColorPickerTests.
This commit is contained in:
@@ -48,8 +48,9 @@ public class ColorPickerTests
|
||||
{
|
||||
var colorPicker = new ColorPicker { X = 0, Y = 0, Height = 4, Width = 32 };
|
||||
Assert.Equal (ColorName.Black, colorPicker.SelectedColor);
|
||||
Application.Top.Add (colorPicker);
|
||||
Application.Begin (Application.Top);
|
||||
var top = new Toplevel ();
|
||||
top.Add (colorPicker);
|
||||
Application.Begin (top);
|
||||
|
||||
Assert.False (colorPicker.OnMouseEvent (new MouseEvent ()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user