mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Constrain height of group-tab to the editor's height
Previously the group-tab extended all the way down to the last track. Potentially with a widget height of > 2^15 px. This caused issues with gtk widgets (notably on Windows) ``` unhandled exception (type std::exception) in signal handler: what: invalid value (typically too big) for the size of the input (surface, pattern, etc.) ``` This also prepares for Mixer Tab-Group to use the same separation between visible and total extent.
This commit is contained in:
parent
c94ca79798
commit
bdd6eec95c
9 changed files with 71 additions and 32 deletions
|
|
@ -34,7 +34,8 @@ private:
|
|||
void draw_tab (cairo_t *, Tab const &);
|
||||
double primary_coordinate (double, double) const;
|
||||
ARDOUR::RouteList routes_for_tab (Tab const *) const;
|
||||
double extent () const {
|
||||
|
||||
double visible_extent () const {
|
||||
return get_width();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue