Revert "Fixed line uncommited changes -> first commit not being drawn in the log (now properly :P)"

This reverts commit 92b225503c.
This commit is contained in:
Abdelilah El Aissaoui 2023-09-19 10:46:43 +02:00
parent a70adb6ad5
commit bb49e9482c
No known key found for this signature in database
GPG key ID: 7587FC860F594869

View file

@ -964,7 +964,7 @@ fun CommitsGraphLine(
modifier = Modifier.fillMaxSize()
) {
clipRect {
if (plotCommit.childCount > 0 || itemPosition == 0) {
if (plotCommit.childCount > 0) {
drawLine(
color = colors[itemPosition % colors.size],
start = Offset(laneWidthWithDensity * (itemPosition + 1), this.center.y),