diff --git a/aegisub/src/video_display.cpp b/aegisub/src/video_display.cpp index 45c4f0293..04b4ad9d3 100644 --- a/aegisub/src/video_display.cpp +++ b/aegisub/src/video_display.cpp @@ -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);