1
0

Change commit color calculation in renderer.js

This commit is contained in:
2025-05-26 10:51:15 +02:00
parent ed844383c3
commit 8261d55a21

View File

@@ -371,7 +371,7 @@ async function updateInteractionBar(folderObj) {
}
// In die Bar schreiben
const [r, g, b] = getCommitColor(commitsToday);
const [r, g, b] = getCommitColor(0);
document.getElementById('commitsToday').textContent = commitsToday;
document.getElementById('commitsToday').style.color = `rgb(${r},${g},${b})`;
document.getElementById('linesUntilRewrite').textContent = linesUntilRewrite;