13
0

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
This commit is contained in:
Paul Davis 2013-01-17 15:00:44 +00:00
parent 5adcb61f60
commit b02e2cd25b

View File

@ -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 ();