mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-15 15:50:54 +02:00
Fix for bug #1152
This commit is contained in:
parent
4e0cb1af71
commit
6eedbcd726
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user