Skip to content

Commit 02c75a8

Browse files
CalebRasdfeinzimer
andauthored
Apply suggestions from code review.
Co-authored-by: David Feinzimer <[email protected]>
1 parent 23ad438 commit 02c75a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Shared/Samples/Animate 3D graphic/Animate3DGraphicView.Model.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ extension Animate3DGraphicView {
216216
private(set) var displayLink: CADisplayLink?
217217

218218
/// The speed of the animation.
219-
var speed: AnimationSpeed = .medium
219+
var speed = AnimationSpeed.medium
220220

221221
/// A Boolean value indicating whether the animation is currently playing.
222222
var isPlaying = false {
@@ -248,7 +248,7 @@ extension Animate3DGraphicView {
248248
/// The index of the current frame in the frames list.
249249
private var currentFrameIndex = 0
250250

251-
/// Sets up the animation using a given display link.
251+
/// Sets up the animation using a given display link.
252252
/// - Parameter displayLink: The display link used to run the animation.
253253
mutating func setup(displayLink: CADisplayLink) {
254254
// Add the display link to main thread common mode run loop,

0 commit comments

Comments
 (0)