Rectangle fix

This commit is contained in:
2023-08-16 09:07:16 +02:00
parent 3ca2fc181f
commit e35702c8e6

View File

@@ -28,7 +28,7 @@ public sealed partial class Rectangle<T> : View<Rectangle<T>, T>, IDisplayView
driver.ResetColor(); driver.ResetColor();
if (color is not null) if (color is not null)
{ {
driver.SetForegroundColor(color); driver.SetBackgroundColor(color);
} }
var height = size.Height; var height = size.Height;