mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
don't draw chapter mark if start is 0
This commit is contained in:
parent
03fbb4933a
commit
a1bde07ee1
@ -331,7 +331,7 @@ struct TimelineView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var chaptersLayers: some View {
|
var chaptersLayers: some View {
|
||||||
ForEach(chapters) { chapter in
|
ForEach(chapters.filter { $0.start != 0 }) { chapter in
|
||||||
RoundedRectangle(cornerRadius: 4)
|
RoundedRectangle(cornerRadius: 4)
|
||||||
.fill(Color("AppRedColor"))
|
.fill(Color("AppRedColor"))
|
||||||
.frame(maxWidth: 2, maxHeight: height)
|
.frame(maxWidth: 2, maxHeight: height)
|
||||||
|
Loading…
Reference in New Issue
Block a user