From 3ba027bd16ea15142f8bd056df010c317a3c4589 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 29 Jun 2024 17:15:10 +0800 Subject: [PATCH] ux: prevents the top border from being cropped --- src/Views/LauncherTabBar.axaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Views/LauncherTabBar.axaml.cs b/src/Views/LauncherTabBar.axaml.cs index ebbf4d6b..e2618425 100644 --- a/src/Views/LauncherTabBar.axaml.cs +++ b/src/Views/LauncherTabBar.axaml.cs @@ -62,7 +62,7 @@ namespace SourceGit.Views { x = LauncherTabsScroller.Bounds.X; ctx.BeginFigure(new Point(x, y), true); - y = 0; + y = 1; ctx.LineTo(new Point(x, y)); x = drawRightX - 6; } @@ -76,7 +76,7 @@ namespace SourceGit.Views y = 6; ctx.LineTo(new Point(x, y)); x += 6; - y = 0; + y = 1; ctx.ArcTo(new Point(x, y), new Size(6, 6), angle, false, SweepDirection.Clockwise); x = drawRightX - 6; }