Skip to content

Commit 544cb01

Browse files
committed
Adjust positioning of arrows and dots slightly.
1 parent f9125ed commit 544cb01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ClosedCaptions/CaptionsList.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ private void DrawCaptions(Context ctx)
215215
if (Math.Abs(direction) > 6)
216216
{
217217
ctx.NewPath();
218-
ctx.Arc(1+cfg.Width*.1-2, y+midHeight, cfg.Height/8, 0, GameMath.TWOPI);
218+
ctx.Arc(1+cfg.Width*.1, y+midHeight, cfg.Height/8, 0, GameMath.TWOPI);
219219
ctx.Fill();
220220
ctx.NewPath();
221-
ctx.Arc(1+cfg.Width*.9+2, y+midHeight, cfg.Height/8, 0, GameMath.TWOPI);
221+
ctx.Arc(1+cfg.Width*.9, y+midHeight, cfg.Height/8, 0, GameMath.TWOPI);
222222
ctx.Fill();
223223
}
224224
// >>
@@ -230,7 +230,7 @@ private void DrawCaptions(Context ctx)
230230
// >
231231
else if (direction > 1)
232232
{
233-
DrawTriangle(ctx, 1+Math.Round(cfg.Width*.9+arrowWidth*.2), y+midHeight, arrowWidth, arrowHeight);
233+
DrawTriangle(ctx, 1+Math.Round(cfg.Width*.9+arrowWidth*55), y+midHeight, arrowWidth, arrowHeight);
234234
}
235235
// <<
236236
else if (direction < -3)
@@ -241,7 +241,7 @@ private void DrawCaptions(Context ctx)
241241
// <
242242
else if (direction < -1)
243243
{
244-
DrawTriangle(ctx, 1+Math.Round(cfg.Width*.1-arrowWidth*.2), y+midHeight, -arrowWidth, arrowHeight);
244+
DrawTriangle(ctx, 1+Math.Round(cfg.Width*.1-arrowWidth*.55), y+midHeight, -arrowWidth, arrowHeight);
245245
}
246246
}
247247
}

0 commit comments

Comments
 (0)