Browse Source

PaintBrush: Reduce debug spam in the color editor dialog.

Andreas Kling 6 năm trước cách đây
mục cha
commit
f49e5c6732
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      Applications/PaintBrush/ColorDialog.cpp

+ 0 - 3
Applications/PaintBrush/ColorDialog.cpp

@@ -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();
          };