Skip to content

Commit ca2d5f3

Browse files
committed
More minor cleanup
1 parent c34eb52 commit ca2d5f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

OpenTimelineIO-Sample/OpenTimelineIO-Reader/Views/TimeRulerView.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,11 @@ struct TimeRulerView: View
112112
{
113113
currentTimeLabel = currentTime.toTimestring()
114114
}
115-
116115

117116
let playheadPositionX = currentTime.toSeconds() * secondsToPixels
118117
let playheadRect = CGRect(x: playheadPositionX, y: 20, width: 1, height: size.height-20)
119118
// context.fill(Path(playheadRect), with: .color(.orange))
120119

121-
// context.draw( resolved , in: playheadRect)
122120
context.draw(Text("\(Image(systemName: "arrowtriangle.down.fill"))").font(.system(size: 13)).foregroundStyle(.orange), at: CGPoint(x: playheadPositionX + 0.5, y: 15))
123121

124122
context.fill(Path(playheadRect), with: .color(.orange))

0 commit comments

Comments
 (0)