Indicator view Fixed size first cell
Closed this issue · 1 comments
AlexanderBaranowski commented
Hello!
Found a little mistake, please adjust
Segmentio/Segmentio/Source/Segmentio.swift
lines 725...729
`if context.isFirstCell == true {
startX = (cellWidth - item.shapeLayerWidth) / 2
startX = 0
endX = startX + item.shapeLayerWidth
}`
grifas commented
I get the same problem, and remove startX = 0
on line 727 corrected it