diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-17 15:00:44 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-17 15:00:44 +0000 |
commit | b02e2cd25b1a7e69609f39710355fac40d3b9b21 (patch) | |
tree | 68a67f622294868aa23d999e0a075a6e9466db8e /libs | |
parent | 5adcb61f6059bb5554ee6da7a7dba6c65b6100f0 (diff) |
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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gtkmm2ext/pixfader.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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 (); |