mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Temporarily add more widgets to vizia Gain GUI
This commit is contained in:
@@ -307,7 +307,10 @@ impl View for ParamSlider {
|
||||
match window_event {
|
||||
WindowEvent::MouseDown(MouseButton::Left) => {
|
||||
if cx.modifiers.alt() {
|
||||
// ALt+Click brings up a text entry dialog
|
||||
cx.emit(ParamSliderInternalEvent::SetTextInputActive(true));
|
||||
cx.current.set_active(cx, true);
|
||||
|
||||
// TODO: Once vizia implements it: (and probably do this from
|
||||
// `SetTextInputActive`)
|
||||
// - Focus the text box
|
||||
|
||||
Reference in New Issue
Block a user