forked from mia/Aegisub
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue