1
0
Fork 0

Remove debug prints

This commit is contained in:
Robbert van der Helm 2022-03-22 01:25:42 +01:00
parent ccba81c382
commit 3273bb3a35

View file

@ -168,18 +168,12 @@ impl ParamSlider {
Textbox::new(cx, param_display_value_lens)
.class("value-entry")
.on_submit(|cx, string| {
// FIXME: Remove
eprintln!("on_submit");
cx.emit(ParamSliderEvent::TextInput(string))
})
.on_edit_end(|cx| {
// FIXME: Remove
eprintln!("on_edit_end");
cx.emit(ParamSliderEvent::CancelTextInput);
})
.on_build(|cx| {
// FIXME: Remove
eprintln!("on_build");
cx.emit(TextEvent::StartEdit);
cx.emit(TextEvent::SelectAll);
})