Skip to content

Commit

Permalink
[#40] Track Map: General improvements and bugfixes (Part 31: Fixed sc…
Browse files Browse the repository at this point in the history
…roll-bars)
  • Loading branch information
tomas-nestorovic committed Jun 24, 2023
1 parent e216efe commit 7738058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Main/src/ViewTrackMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@

afx_msg void CTrackMapView::OnSize(UINT nType,int cx,int cy){
// window size changed
__super::OnSize( nType, cx, cy );
if (fitLongestTrackInWindow)
zoomLengthFactor = showTimed
? TTrackLength::FromTime(longestTrackNanoseconds,IMAGE->EstimateNanosecondsPerOneByte()).GetZoomFactorToFitWidth(cx)
Expand Down

0 comments on commit 7738058

Please sign in to comment.