mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fixed scrolling of audio display when it is resized. Fixes #524
Originally committed to SVN as r1771.
This commit is contained in:
parent
0537e36bd3
commit
52d47c32e2
@ -1914,6 +1914,8 @@ void AudioDisplay::OnSize(wxSizeEvent &event) {
|
||||
h -= Options.AsBool(_T("Audio Draw Timeline")) ? 20 : 0;
|
||||
|
||||
// Update image
|
||||
UpdateSamples();
|
||||
UpdatePosition(PositionSample / samples);
|
||||
UpdateImage();
|
||||
|
||||
// Update scrollbar
|
||||
|
Loading…
x
Reference in New Issue
Block a user