Limit height of while position line to height of all tracks (#6509)

* Position line height fits all tracks when line is moved or updated

* Refactor track height calculation; create connection to update position line height
This commit is contained in:
Michael Fulghum
2022-10-04 00:43:23 -05:00
committed by GitHub
parent 6ae075edf3
commit a57265cf8d
3 changed files with 22 additions and 5 deletions

View File

@@ -148,6 +148,7 @@ public:
return "trackcontainerview";
}
unsigned int totalHeightOfTracks() const;
RubberBand *rubberBand() const;
@@ -206,10 +207,9 @@ private:
RubberBand * m_rubberBand;
signals:
void positionChanged( const lmms::TimePos & _pos );
void tracksRealigned();
} ;