From bcc43e167cff2afd759d8a80561b282009f6411f Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 27 Sep 2024 11:34:26 +0800 Subject: [PATCH] ux: remove bottom line of selected tab in main tabbar --- src/Views/LauncherTabBar.axaml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Views/LauncherTabBar.axaml.cs b/src/Views/LauncherTabBar.axaml.cs index 4f65ab32..3258a09c 100644 --- a/src/Views/LauncherTabBar.axaml.cs +++ b/src/Views/LauncherTabBar.axaml.cs @@ -58,7 +58,7 @@ namespace SourceGit.Views var geo = new StreamGeometry(); var angle = Math.PI / 2; - var y = height + 0.1; + var y = height + 0.5; using (var ctx = geo.Open()) { double x; @@ -94,17 +94,17 @@ namespace SourceGit.Views x = drawRightX; y = 6; ctx.ArcTo(new Point(x, y), new Size(6, 6), angle, false, SweepDirection.Clockwise); - y = height + 0.1 - 5; + y = height + 0.5 - 5; ctx.LineTo(new Point(x, y)); x += 5; - y = height + 0.1; + y = height + 0.5; ctx.ArcTo(new Point(x, y), new Size(5, 5), angle, false, SweepDirection.CounterClockwise); } else { x = LauncherTabsScroller.Bounds.Right; ctx.LineTo(new Point(x, y)); - y = height + 0.1; + y = height + 0.5; ctx.LineTo(new Point(x, y)); } }