mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Split class TrackArtist from namespace TrackArt...
... The first is just extended drawing context info, and the second has functions that retrieve TrackArtist from TrackPanelDrawingContext as needed.
This commit is contained in:
@@ -360,7 +360,7 @@ void Envelope::DrawPoints
|
||||
true, dBRange, false);
|
||||
|
||||
// This follows the same logic as the envelop drawing in
|
||||
// TrackArtist::DrawEnvelope().
|
||||
// TrackArt::DrawEnvelope().
|
||||
// TODO: make this calculation into a reusable function.
|
||||
if (y2 - y < 9) {
|
||||
int value = (int)((zoomMax / (zoomMax - zoomMin)) * r.height);
|
||||
|
Reference in New Issue
Block a user