forked from mia/Aegisub
Update the value of the zoom dropdown when the detached video dialog is resized
Originally committed to SVN as r6143.
This commit is contained in:
parent
43b6d910fb
commit
be3e9dae68
1 changed files with 3 additions and 0 deletions
|
@ -289,6 +289,9 @@ void VideoDisplay::UpdateSize(bool force) {
|
|||
viewport_top = viewport_bottom = delta / 2;
|
||||
viewport_height = h - delta;
|
||||
}
|
||||
|
||||
zoomValue = double(h) / vidH;
|
||||
zoomBox->ChangeValue(wxString::Format("%g%%", zoomValue * 100.));
|
||||
}
|
||||
else {
|
||||
wxEventBlocker blocker(this);
|
||||
|
|
Loading…
Reference in a new issue