@@ -47,13 +47,13 @@ public override void Render(DrawingContext context)
47
47
var selected = LauncherTabsList . ContainerFromIndex ( selectedIdx ) ;
48
48
var activeStartX = selected . Bounds . X ;
49
49
var activeEndX = activeStartX + selected . Bounds . Width ;
50
- if ( activeStartX > endX + 6 || activeEndX < startX - 6 )
50
+ if ( activeStartX > endX + 5 || activeEndX < startX - 5 )
51
51
return ;
52
52
53
53
var geo = new StreamGeometry ( ) ;
54
54
var angle = Math . PI / 2 ;
55
55
var x = 0.0 ;
56
- var y = height + 0.5 ;
56
+ var y = height + 0.25 ;
57
57
using ( var ctx = geo . Open ( ) )
58
58
{
59
59
var drawLeftX = activeStartX - startX + LauncherTabsScroller . Bounds . X ;
@@ -68,11 +68,11 @@ public override void Render(DrawingContext context)
68
68
}
69
69
else
70
70
{
71
- x = drawLeftX - 6 ;
71
+ x = drawLeftX - 5 ;
72
72
ctx . BeginFigure ( new Point ( x , y ) , true ) ;
73
73
x = drawLeftX ;
74
- y -= 6 ;
75
- ctx . ArcTo ( new Point ( x , y ) , new Size ( 6. 5, 6. 5) , angle , false , SweepDirection . CounterClockwise ) ;
74
+ y -= 5 ;
75
+ ctx . ArcTo ( new Point ( x , y ) , new Size ( 5 , 5 ) , angle , false , SweepDirection . CounterClockwise ) ;
76
76
y = 6 ;
77
77
ctx . LineTo ( new Point ( x , y ) ) ;
78
78
x += 6 ;
@@ -87,17 +87,17 @@ public override void Render(DrawingContext context)
87
87
x = drawRightX ;
88
88
y = 6 ;
89
89
ctx . ArcTo ( new Point ( x , y ) , new Size ( 6 , 6 ) , angle , false , SweepDirection . Clockwise ) ;
90
- y = height - 6 ;
90
+ y = height + 0.25 - 5 ;
91
91
ctx . LineTo ( new Point ( x , y ) ) ;
92
- x += 6 ;
93
- y = height + 0.5 ;
94
- ctx . ArcTo ( new Point ( x , y ) , new Size ( 6. 5, 6. 5) , angle , false , SweepDirection . CounterClockwise ) ;
92
+ x += 5 ;
93
+ y = height + 0.25 ;
94
+ ctx . ArcTo ( new Point ( x , y ) , new Size ( 5 , 5 ) , angle , false , SweepDirection . CounterClockwise ) ;
95
95
}
96
96
else
97
97
{
98
98
x = LauncherTabsScroller . Bounds . Right ;
99
99
ctx . LineTo ( new Point ( x , y ) ) ;
100
- y = height + 0.5 ;
100
+ y = height + 0.25 ;
101
101
ctx . LineTo ( new Point ( x , y ) ) ;
102
102
}
103
103
}
0 commit comments