We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b5368 commit 9a9f48cCopy full SHA for 9a9f48c
Terminal.Gui/View/Adornment/ShadowView.cs
@@ -109,7 +109,7 @@ private void DrawHorizontalShadowTransparent (Rectangle viewport)
109
Rectangle screen = ViewportToScreen (viewport);
110
111
// Fill the rest of the rectangle - note we skip the last since vertical will draw it
112
- 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++)
113
{
114
Driver.Move (i, screen.Y);
115
0 commit comments