diff --git a/libs/gtkmm2ext/pixfader.cc b/libs/gtkmm2ext/pixfader.cc index aebcd7d1b3..f0ba652052 100644 --- a/libs/gtkmm2ext/pixfader.cc +++ b/libs/gtkmm2ext/pixfader.cc @@ -41,7 +41,7 @@ PixFader::PixFader (Glib::RefPtr belt, Gtk::Adjustment& adj) view.width = pixbuf->get_width(); view.height = pixheight / 2; - unity_y = (int) rint (view.height - (default_value * view.height)); + unity_y = (int) rint (view.height - (default_value * view.height)) - 1; add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK|Gdk::POINTER_MOTION_MASK|Gdk::SCROLL_MASK);