From bb49e9482c1e70614231f76c35363583324cfdba Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Tue, 19 Sep 2023 10:46:43 +0200 Subject: [PATCH] Revert "Fixed line uncommited changes -> first commit not being drawn in the log (now properly :P)" This reverts commit 92b225503c8d9a3a01368f782347e5967a0a6324. --- src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt index 77fb269..da82e03 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt @@ -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),