mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: prevents the top border from being cropped
This commit is contained in:
parent
1241539260
commit
3ba027bd16
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ namespace SourceGit.Views
|
||||||
{
|
{
|
||||||
x = LauncherTabsScroller.Bounds.X;
|
x = LauncherTabsScroller.Bounds.X;
|
||||||
ctx.BeginFigure(new Point(x, y), true);
|
ctx.BeginFigure(new Point(x, y), true);
|
||||||
y = 0;
|
y = 1;
|
||||||
ctx.LineTo(new Point(x, y));
|
ctx.LineTo(new Point(x, y));
|
||||||
x = drawRightX - 6;
|
x = drawRightX - 6;
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ namespace SourceGit.Views
|
||||||
y = 6;
|
y = 6;
|
||||||
ctx.LineTo(new Point(x, y));
|
ctx.LineTo(new Point(x, y));
|
||||||
x += 6;
|
x += 6;
|
||||||
y = 0;
|
y = 1;
|
||||||
ctx.ArcTo(new Point(x, y), new Size(6, 6), angle, false, SweepDirection.Clockwise);
|
ctx.ArcTo(new Point(x, y), new Size(6, 6), angle, false, SweepDirection.Clockwise);
|
||||||
x = drawRightX - 6;
|
x = drawRightX - 6;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue