Skip to content

Commit

Permalink
Added public initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
aure committed Sep 11, 2022
1 parent dbd5bf2 commit 05f6b48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/AudioKitUI/Visualizations/DryWetMixView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ public struct DryWetMixView: View {
var wet: Node
var mix: Node

public init(dry: Node, wet: Node, mix: Node) {
self.dry = dry
self.wet = wet
self.mix = mix
}

var height: CGFloat = 100

func plot(_ node: Node, label: String, color: Color) -> some View {
Expand Down

0 comments on commit 05f6b48

Please sign in to comment.