From b02e2cd25b1a7e69609f39710355fac40d3b9b21 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 17 Jan 2013 15:00:44 +0000 Subject: [PATCH] fix problem with size of patterns used by pixfaders when they get re-size-allocated git-svn-id: svn://localhost/ardour2/branches/3.0@13871 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/gtkmm2ext/pixfader.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/gtkmm2ext/pixfader.cc b/libs/gtkmm2ext/pixfader.cc index 6c4a511ae1..43657a5902 100644 --- a/libs/gtkmm2ext/pixfader.cc +++ b/libs/gtkmm2ext/pixfader.cc @@ -291,8 +291,10 @@ PixFader::on_size_allocate (Gtk::Allocation& alloc) if (_orien == VERT) { girth = alloc.get_width (); + span = alloc.get_height (); } else { girth = alloc.get_height (); + span = alloc.get_width (); } update_unity_position ();