Use the same logic to decide on step size when scroll-wheeling faders in the mixer...
[ardour.git] / libs / gtkmm2ext / stateful_button.cc
index d8bb1f212f6f7f012195762ac444a1215e79d38f..3880a1b35c853b5f52e00e18f5c61bd02c2e2f61 100644 (file)
@@ -74,7 +74,6 @@ StateButton::set_visual_state (int n)
        }
 
        set_widget_name (name);
-
        visual_state = n;
 }
 
@@ -112,6 +111,7 @@ StateButton::avoid_prelight_on_style_changed (const Glib::RefPtr<Gtk::Style>& /*
                         gtk_widget_modify_style (GTK_WIDGET(child->gobj()), rcstyle);
                 }
 
+
                 g_object_unref (rcstyle);
                 style_changing = false;
         }