1
0

Fix color calculation in renderer.js

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

View File

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