Fix 'blocking' messageboxes not handling key focus properly

new-script-api
scrawl 7 years ago
parent a0f5e32113
commit db650df416

@ -773,6 +773,7 @@ namespace MWGui
double dt = frameTimer.time_s(); double dt = frameTimer.time_s();
frameTimer.setStartTick(); frameTimer.setStartTick();
mKeyboardNavigation->onFrame();
mMessageBoxManager->onFrame(dt); mMessageBoxManager->onFrame(dt);
MWBase::Environment::get().getInputManager()->update(dt, true, false); MWBase::Environment::get().getInputManager()->update(dt, true, false);

@ -9,6 +9,7 @@
<Property key="WordWrap" value="true"/> <Property key="WordWrap" value="true"/>
<Property key="MultiLine" value="1"/> <Property key="MultiLine" value="1"/>
<Property key="VisibleVScroll" value="1"/> <Property key="VisibleVScroll" value="1"/>
<Property key="NeedKey" value="false"/>
</Widget> </Widget>
<Widget type="Widget" skin="" position="0 0 500 400" align="Stretch" name="buttons"> <Widget type="Widget" skin="" position="0 0 500 400" align="Stretch" name="buttons">
</Widget> </Widget>

Loading…
Cancel
Save