Skip to content

Commit 85c007e

Browse files
authored
feat: revert to the default coloring for non-standard watchers (#613)
1 parent 0cf7831 commit 85c007e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/color.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,6 @@ export function getCategoryColorFromEvent(bucket: IBucket, e: IEvent) {
141141
} else if (bucket.type?.startsWith('general.stopwatch')) {
142142
return getCategoryColorFromString(e.data.label);
143143
} else {
144-
return getCategoryColorFromString(e.data.title);
144+
return getColorFromString(getTitleAttr(bucket, e));
145145
}
146146
}

0 commit comments

Comments
 (0)