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:
parent
5adcb61f60
commit
b02e2cd25b
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user