Skip to content

Commit

Permalink
Expose waveform properties as open
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmitrevski committed Jul 8, 2024
1 parent 609135b commit 786b9f4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ open class WaveformView: UIView {

@Injected(\.images) var images

var onSliderChanged: ((TimeInterval) -> Void)?
var onSliderTapped: (() -> Void)?
open var onSliderChanged: ((TimeInterval) -> Void)?
open var onSliderTapped: (() -> Void)?

public struct Content: Equatable {
/// When set to `true` the waveform will be updating with the data live (scrolling to the trailing side
Expand Down Expand Up @@ -49,7 +49,7 @@ open class WaveformView: UIView {
}
}

var content: Content = .initial {
open var content: Content = .initial {
didSet { updateContent() }
}

Expand Down

0 comments on commit 786b9f4

Please sign in to comment.