diff --git a/lottie-swift/src/Public/MacOS/LottieView.swift b/lottie-swift/src/Public/MacOS/LottieView.swift index af4a31cf89..8a2a802880 100644 --- a/lottie-swift/src/Public/MacOS/LottieView.swift +++ b/lottie-swift/src/Public/MacOS/LottieView.swift @@ -8,20 +8,20 @@ import Foundation import AppKit -public enum LottieContentMode { - case bottom - case bottomLeft - case bottomRight - case center - case left - case redraw - case right +public enum LottieContentMode: Int { case scaleToFill case scaleAspectFit case scaleAspectFill + case redraw + case center case top + case bottom + case left + case right case topLeft case topRight + case bottomLeft + case bottomRight } /// A wrapper around NSView for cross platform compatibility.