From 335cb0897964acb03139982e89440cbea3518e90 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 9 Aug 2016 22:39:16 +0200 Subject: classes/BowelyzerGUI.sc: Adding initVal to setupEZSlider and setupEZKnob. This was preventing configuration values to be properly displayed on load. --- classes/BowelyzerGUI.sc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') diff --git a/classes/BowelyzerGUI.sc b/classes/BowelyzerGUI.sc index 5833ea2..08d3d78 100644 --- a/classes/BowelyzerGUI.sc +++ b/classes/BowelyzerGUI.sc @@ -990,6 +990,7 @@ BowelyzerGUI{ address.sendMsg(type, name, controlName, controlValue); }, numberWidth: 70, + initVal: value, layout: \line2, margin: nil ); @@ -1046,6 +1047,7 @@ BowelyzerGUI{ bounds: 300@16, label: control, controlSpec: \freq, + initVal: value, action: { arg controlUnit; var address = NetAddr.new("127.0.0.1", NetAddr.langPort), -- cgit v1.2.3-70-g09d2