forked from mia/Aegisub
Pass the audio renderer absolute coordinates rather than relative so that audio actually scrolls
Originally committed to SVN as r5898.
This commit is contained in:
parent
d67cc6032b
commit
908d1cadae
1 changed files with 1 additions and 1 deletions
|
@ -861,7 +861,7 @@ void AudioDisplay::OnPaint(wxPaintEvent& event)
|
|||
|
||||
if (range_x2 > range_x1)
|
||||
{
|
||||
audio_renderer->Render(dc, wxPoint(range_x1, audio_top), range_x1, range_x2 - range_x1, range_style);
|
||||
audio_renderer->Render(dc, wxPoint(range_x1, audio_top), range_x1 + scroll_left, range_x2 - range_x1, range_style);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue