File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Sources/AudioKitUI/Controls Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ import UIKit
103103 self . callback = callback
104104 super. init ( frame: CGRect ( x: 0 , y: 0 , width: 440 , height: 150 ) )
105105 backgroundColor = . clear
106+ contentMode = . scaleAspectFill
107+ clipsToBounds = true
106108 }
107109
108110 /// Initialization of the view from within interface builder
@@ -112,14 +114,6 @@ import UIKit
112114
113115 // MARK: - Storyboard Rendering
114116
115- /// Perform necessary operation to allow the view to be rendered in interface builder
116- override public func prepareForInterfaceBuilder( ) {
117- super. prepareForInterfaceBuilder ( )
118-
119- contentMode = . scaleAspectFill
120- clipsToBounds = true
121- }
122-
123117 /// Size of the view
124118 override public var intrinsicContentSize : CGSize {
125119 return CGSize ( width: 440 , height: 150 )
You can’t perform that action at this time.
0 commit comments