mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-25 21:07:20 -08:00
ux: remove bottom line of selected tab in main tabbar
This commit is contained in:
parent
5a536fae06
commit
bcc43e167c
1 changed files with 4 additions and 4 deletions
|
@ -58,7 +58,7 @@ namespace SourceGit.Views
|
||||||
|
|
||||||
var geo = new StreamGeometry();
|
var geo = new StreamGeometry();
|
||||||
var angle = Math.PI / 2;
|
var angle = Math.PI / 2;
|
||||||
var y = height + 0.1;
|
var y = height + 0.5;
|
||||||
using (var ctx = geo.Open())
|
using (var ctx = geo.Open())
|
||||||
{
|
{
|
||||||
double x;
|
double x;
|
||||||
|
@ -94,17 +94,17 @@ namespace SourceGit.Views
|
||||||
x = drawRightX;
|
x = drawRightX;
|
||||||
y = 6;
|
y = 6;
|
||||||
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);
|
||||||
y = height + 0.1 - 5;
|
y = height + 0.5 - 5;
|
||||||
ctx.LineTo(new Point(x, y));
|
ctx.LineTo(new Point(x, y));
|
||||||
x += 5;
|
x += 5;
|
||||||
y = height + 0.1;
|
y = height + 0.5;
|
||||||
ctx.ArcTo(new Point(x, y), new Size(5, 5), angle, false, SweepDirection.CounterClockwise);
|
ctx.ArcTo(new Point(x, y), new Size(5, 5), angle, false, SweepDirection.CounterClockwise);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
x = LauncherTabsScroller.Bounds.Right;
|
x = LauncherTabsScroller.Bounds.Right;
|
||||||
ctx.LineTo(new Point(x, y));
|
ctx.LineTo(new Point(x, y));
|
||||||
y = height + 0.1;
|
y = height + 0.5;
|
||||||
ctx.LineTo(new Point(x, y));
|
ctx.LineTo(new Point(x, y));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue