Switch between LAF sliders?
-
Hi all, I'm wondering if it's possible to switch between 2 different LAF knobs using a button? I've tried it but it's not working how I'd expect, so maybe I'm doing something wrong. For example:
inline function onsyncControl(component, value) { // tempo sync if (value == 1) { delaytime.setLocalLookAndFeel(LAF_RateKnob); } else { delaytime.setLocalLookAndFeel(LAF_StandardKnob); } };
-
@paper_lung no, you can't reassign laf. Use an if statement in your laf or use two knobs
-
@d-healey will do in that case, thanks!