mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue