Skip to content

Commit 0fe923a

Browse files
add a comment
1 parent b571dba commit 0fe923a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/graphics/layers/PlayerPanel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class PlayerPanel extends LitElement implements Layer {
220220
}
221221

222222
private getExpiryColorClass(seconds: number | null): string {
223-
if (seconds === null) return "text-white";
223+
if (seconds === null) return "text-white"; // Default color
224224

225225
if (seconds <= 30) return "text-red-400"; // Last 30 seconds: Red
226226
if (seconds <= 60) return "text-yellow-400"; // Last 60 seconds: Yellow

0 commit comments

Comments
 (0)