1
0

Revert color calculation in renderer.js

This commit is contained in:
2025-05-26 10:57:12 +02:00
parent ba7b437ac4
commit c7bff0d357

View File

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