summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-03 22:39:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-03 22:39:35 +0300
commitf0f135493b2951af8661c8d7e7396c713164a723 (patch)
tree5fa4af6eb22cae8650cbd96d7dd7211223950414 /src/gui/gui.cpp
parent4039ef116901d4513c3535cc119dc40abd8e14df (diff)
downloadmanaplus-f0f135493b2951af8661c8d7e7396c713164a723.tar.gz
manaplus-f0f135493b2951af8661c8d7e7396c713164a723.tar.bz2
manaplus-f0f135493b2951af8661c8d7e7396c713164a723.tar.xz
manaplus-f0f135493b2951af8661c8d7e7396c713164a723.zip
Improve a bit calculations in viewport.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index db03887fb..cb91f09c4 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -526,6 +526,8 @@ void Gui::videoResized() const
top->adjustAfterResize(oldWidth, oldHeight);
}
+ if (viewport)
+ viewport->videoResized();
Widget::distributeWindowResizeEvent();
}