Allow clicking on colour sliders to change the colour.
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 17 Apr 2008 11:57:48 +0000 (11:57 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 17 Apr 2008 11:57:48 +0000 (11:57 +0000)
git-svn-id: http://svn.voria.com/code@2020 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/widget_coloredit.cpp

index 6c3b39f..da0da91 100644 (file)
@@ -228,6 +228,7 @@ ColorSlider::on_event(GdkEvent *event)
                signal_activated_();
                return true;
 
+       case GDK_BUTTON_PRESS:
        case GDK_MOTION_NOTIFY:
 //             adjust_color(type,color_,pos);
                signal_slider_moved_(type,pos);