From d9d6228c94ac961fc98b4e214efe30f0882d79db Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 5 Jan 2016 16:54:09 +0100 Subject: [PATCH] Implement PageDisplay::_updateView (Fixes #3125) --- apps/openmw/mwgui/bookpage.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/openmw/mwgui/bookpage.cpp b/apps/openmw/mwgui/bookpage.cpp index b728b748f..fe1e6aa0c 100644 --- a/apps/openmw/mwgui/bookpage.cpp +++ b/apps/openmw/mwgui/bookpage.cpp @@ -1222,6 +1222,11 @@ public: void _updateView () { + _checkMargin(); + + if (mNode != NULL) + for (ActiveTextFormats::iterator i = mActiveTextFormats.begin (); i != mActiveTextFormats.end (); ++i) + mNode->outOfDate (i->second->mRenderItem); } void _correctView()