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) Textbox::new(cx, param_display_value_lens)
.class("value-entry") .class("value-entry")
.on_submit(|cx, string| { .on_submit(|cx, string| {
// FIXME: Remove
eprintln!("on_submit");
cx.emit(ParamSliderEvent::TextInput(string)) cx.emit(ParamSliderEvent::TextInput(string))
}) })
.on_edit_end(|cx| { .on_edit_end(|cx| {
// FIXME: Remove
eprintln!("on_edit_end");
cx.emit(ParamSliderEvent::CancelTextInput); cx.emit(ParamSliderEvent::CancelTextInput);
}) })
.on_build(|cx| { .on_build(|cx| {
// FIXME: Remove
eprintln!("on_build");
cx.emit(TextEvent::StartEdit); cx.emit(TextEvent::StartEdit);
cx.emit(TextEvent::SelectAll); cx.emit(TextEvent::SelectAll);
}) })