Revert color calculation in renderer.js
This commit is contained in:
@@ -372,7 +372,7 @@ async function updateInteractionBar(folderObj) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// In die Bar schreiben
|
// In die Bar schreiben
|
||||||
const [r, g, b] = getCommitColor(commitsToday);
|
const [r, g, b] = getCommitColor(500);
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user