1
0

Adjust commitsToday color calculation in renderer.js

This commit is contained in:
2025-05-26 10:52:01 +02:00
parent 107a67ad2e
commit da5ed7f89f

View File

@@ -371,7 +371,7 @@ async function updateInteractionBar(folderObj) {
}
// In die Bar schreiben
const [r, g, b] = getCommitColor(10);
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;