1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-19 17:40:15 +02:00

Fix unintended one-pixel change in width of title button

This commit is contained in:
Paul Licameli 2017-06-06 14:16:50 -04:00
parent 6b44839e7c
commit ad4d6d148a

View File

@ -9367,7 +9367,7 @@ void TrackInfo::GetTitleBarRect(const wxRect & rect, wxRect & dest) const
dest.x = rect.x + kTrackInfoBtnSize + 1; // to right of CloseBoxRect dest.x = rect.x + kTrackInfoBtnSize + 1; // to right of CloseBoxRect
auto results = CalcItemY( commonTrackTCPLines, kItemBarButtons ); auto results = CalcItemY( commonTrackTCPLines, kItemBarButtons );
dest.y = rect.y + results.first; dest.y = rect.y + results.first;
dest.width = kTrackInfoWidth - rect.x - kTrackInfoBtnSize-1; // to right of CloseBoxRect dest.width = kTrackInfoWidth - rect.x - kTrackInfoBtnSize; // to right of CloseBoxRect
dest.height = results.second; dest.height = results.second;
} }