mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
PaintBrush: Reduce debug spam in the color editor dialog.
This commit is contained in:
parent
cf17e385b5
commit
f49e5c6732
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue