Fixed line uncommited changes -> first commit not being drawn in the log (now properly :P)
This commit is contained in:
parent
dd56355497
commit
92b225503c
@ -952,7 +952,7 @@ fun CommitsGraphLine(
|
||||
modifier = Modifier.fillMaxSize()
|
||||
) {
|
||||
clipRect {
|
||||
if (plotCommit.childCount > 0) {
|
||||
if (plotCommit.childCount > 0 || itemPosition == 0) {
|
||||
drawLine(
|
||||
color = colors[itemPosition % colors.size],
|
||||
start = Offset(laneWidthWithDensity * (itemPosition + 1), this.center.y),
|
||||
|
Loading…
Reference in New Issue
Block a user