mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-14 08:36:27 +01:00
Fix for bug #1152
This commit is contained in:
@@ -1875,6 +1875,7 @@ void TrackArtist::DrawClipWaveform(WaveTrack *track,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
display.Allocate();
|
||||||
const int pos = leftOffset - params.hiddenLeftOffset;
|
const int pos = leftOffset - params.hiddenLeftOffset;
|
||||||
useMin = display.min + pos;
|
useMin = display.min + pos;
|
||||||
useMax = display.max + pos;
|
useMax = display.max + pos;
|
||||||
|
|||||||
Reference in New Issue
Block a user