Compare commits

...

1 Commits

Author SHA1 Message Date
Cursor Agent
29275ba691 Fix span label text colors for dark and light modes 2026-03-11 06:59:53 +00:00

View File

@@ -295,8 +295,8 @@ function drawSpanLabel(args: DrawSpanLabelArgs): void {
ctx.fillStyle = isSelectedOrHovered
? color
: isDarkMode
? 'rgba(0, 0, 0, 0.9)'
: 'rgba(255, 255, 255, 0.9)';
? 'rgba(255, 255, 255, 0.9)'
: 'rgba(0, 0, 0, 0.9)';
ctx.textBaseline = 'middle';
const textY = y + spanBarHeight / 2;