PaintBrush: Reduce debug spam in the color editor dialog.

This commit is contained in:
Andreas Kling 2019-06-16 16:33:16 +02:00
parent cf17e385b5
commit f49e5c6732

View file

@ -61,7 +61,6 @@ void ColorDialog::build()
spinbox->set_value(initial_value);
spinbox->on_change = [=](auto value) {
dbgprintf("on_change, component=%d, value=%d\n", component, value);
if (component == Red)
m_color.set_red(value);
if (component == Green)
@ -69,8 +68,6 @@ void ColorDialog::build()
if (component == Blue)
m_color.set_blue(value);
dbgprintf("m_color is now: %s\n", m_color.to_string().characters());
preview_widget->set_background_color(m_color);
preview_widget->update();
};