Fix doubling separator line issue
The problem is that for 2..last-1 rows performs .full(middleSeparatorConfiguration, middleSeparatorConfiguration) action, that leads to doubling separator line height
This commit is contained in:
parent
14e793cf09
commit
d267f0a58e
|
|
@ -43,8 +43,8 @@ public extension Array where Element == SeparatorRowBox {
|
|||
case 1:
|
||||
first?.set(separatorType: .full(extremeSeparatorConfiguration, extremeSeparatorConfiguration))
|
||||
default:
|
||||
forEach { $0.set(separatorType: .full(middleSeparatorConfiguration, middleSeparatorConfiguration)) }
|
||||
first?.set(separatorType: .top(extremeSeparatorConfiguration))
|
||||
forEach { $0.set(separatorType: .bottom(middleSeparatorConfiguration))}
|
||||
first?.set(separatorType: .full(extremeSeparatorConfiguration, middleSeparatorConfiguration))
|
||||
last?.set(separatorType: .bottom(extremeSeparatorConfiguration))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue