We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3795a89 commit d42666dCopy full SHA for d42666d
1 file changed
apps/desktop/src/main/tray.ts
@@ -79,19 +79,25 @@ function traySubscriptSegments(marker: TrayEnvironmentMarker): GlyphSegment[] {
79
]
80
}
81
if (marker === 'D') {
82
- const curve = Array.from({ length: 17 }, (_, index) => {
83
- const angle = -Math.PI / 2 + (Math.PI * index) / 16
84
- return {
85
- x: 0.65 + Math.cos(angle) * 3.75,
86
- y: 3.5 + Math.sin(angle) * 2.95,
87
- }
88
- })
89
return [
90
[
91
{ x: 0.65, y: 0.55 },
92
{ x: 0.65, y: 6.45 },
93
],
94
- ...segmentsFromPoints(curve),
+ ...cubicBezier(
+ { x: 0.65, y: 0.55 },
+ { x: 3.15, y: 0.55 },
+ { x: 4.4, y: 1.55 },
+ { x: 4.4, y: 3.5 },
+ 12
+ ),
95
96
+ { x: 4.4, y: 5.45 },
97
+ { x: 3.15, y: 6.45 },
98
+ { x: 0.65, y: 6.45 },
99
100
101
102
103
0 commit comments