فهرست منبع

PaintBrush: Reduce debug spam in the color editor dialog.

Andreas Kling 6 سال پیش
والد
کامیت
f49e5c6732
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  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->set_value(initial_value);
 
 
          spinbox->on_change = [=](auto value) {
          spinbox->on_change = [=](auto value) {
-             dbgprintf("on_change, component=%d, value=%d\n", component, value);
              if (component == Red)
              if (component == Red)
                 m_color.set_red(value);
                 m_color.set_red(value);
              if (component == Green)
              if (component == Green)
@@ -69,8 +68,6 @@ void ColorDialog::build()
              if (component == Blue)
              if (component == Blue)
                 m_color.set_blue(value);
                 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->set_background_color(m_color);
              preview_widget->update();
              preview_widget->update();
          };
          };