File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Sources/AudioKitUI/Controls Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ import UIKit
9999 self . callback = callback
100100 super. init ( frame: CGRect ( x: 0 , y: 0 , width: 440 , height: 150 ) )
101101 backgroundColor = bgColor
102+ contentMode = . scaleAspectFill
103+ clipsToBounds = true
102104 }
103105
104106 /// Initialization of the view from within interface builder
@@ -108,13 +110,6 @@ import UIKit
108110
109111 // MARK: - Storyboard Rendering
110112
111- /// Perform necessary operation to allow the view to be rendered in interface builder
112- override public func prepareForInterfaceBuilder( ) {
113- super. prepareForInterfaceBuilder ( )
114- contentMode = . scaleAspectFill
115- clipsToBounds = true
116- }
117-
118113 /// Size of the view
119114 override public var intrinsicContentSize : CGSize {
120115 return CGSize ( width: 440 , height: 150 )
You can’t perform that action at this time.
0 commit comments