Editor Summary: The view rectangle should never exceed the bounds of the scroll area.

This commit is contained in:
Ben Loftis 2017-07-19 13:58:56 -05:00
parent 0cb44f9d56
commit 29002b9ac9
2 changed files with 38 additions and 10 deletions

View file

@ -88,6 +88,9 @@ private:
framepos_t _start; ///< start frame of the overview
framepos_t _end; ///< end frame of the overview
framepos_t _leftmost; ///< the earliest frame we ever viewed
framepos_t _rightmost; ///< the latest frame we ever viewed
/** fraction of the session length by which the overview size should extend past the start and end markers */
double _overhang_fraction;