Closed transat closed 3 years ago
Init it with a frame of whatever you want:
/// Initialize with size and callback
/// - Parameters:
/// - frame: View size
/// - callback: Callback to call as values change
public init(frame: CGRect = CGRect(width: 440, height: 150),
callback: @escaping ADSRCallback) {
self.callback = callback
super.init(frame: frame)
}
Hi. just tried out the ADSRView and it appears to be of a fixed size (440px wide I believe). Am I missing something?