mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 00:46:39 +01:00
Fixed DrawHorizontalShadowTransparent (vertical was already fixed).
This commit is contained in:
@@ -109,7 +109,7 @@ internal class ShadowView : View
|
||||
Rectangle screen = ViewportToScreen (viewport);
|
||||
|
||||
// Fill the rest of the rectangle - note we skip the last since vertical will draw it
|
||||
for (int i = screen.X + 1; i < screen.X + screen.Width - 1; i++)
|
||||
for (int i = Math.Max(0, screen.X + 1); i < screen.X + screen.Width - 1; i++)
|
||||
{
|
||||
Driver.Move (i, screen.Y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user