Skip to content

Commit c34eb52

Browse files
committed
Cleanup
1 parent bba19dc commit c34eb52

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import TimecodeKit
1111
import SwiftUI
1212
struct TimeRulerView: View
1313
{
14-
1514
var timeline: OpenTimelineIO.Timeline
1615
@Binding var secondsToPixels: Double
1716
@Binding var currentTime: OpenTimelineIO.RationalTime
@@ -46,9 +45,6 @@ struct TimeRulerView: View
4645
func drawSecondTicks(context: GraphicsContext, startSeconds: Double, endSeconds: Double, secondsToPixels: Double, size: CGSize)
4746
{
4847
let maxPixelX = size.width
49-
50-
let frameRate = getFrameRate() // Get the frame rate of the timeline
51-
// let frameDuration = 1.0 / frameRate // Duration of one frame in seconds
5248

5349
for timeInSeconds in stride(from: startSeconds, through: endSeconds, by: 1)
5450
{

0 commit comments

Comments
 (0)