Skip to content

Commit

Permalink
feat: revert to the default coloring for non-standard watchers (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
brayo-pip authored Oct 5, 2024
1 parent 0cf7831 commit 85c007e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,6 @@ export function getCategoryColorFromEvent(bucket: IBucket, e: IEvent) {
} else if (bucket.type?.startsWith('general.stopwatch')) {
return getCategoryColorFromString(e.data.label);
} else {
return getCategoryColorFromString(e.data.title);
return getColorFromString(getTitleAttr(bucket, e));
}
}

1 comment on commit 85c007e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are screenshots of this commit:

Screenshots using aw-server v0.12.3b18 (click to expand)

Screenshots using aw-server-rust master (click to expand)

Screenshots using aw-server-rust v0.12.3b18 (click to expand)

Please sign in to comment.