From 4ec929fd348e51a36aa3fbf7d6fb2c19f9ac09a6 Mon Sep 17 00:00:00 2001 From: skyjake Date: Thu, 26 Apr 2012 21:50:56 +0300 Subject: [PATCH] UI|Fixed: Update fonts before UI resize With the updated fonts, the UI widgets can be updated correctly. Previously the wrong font height was used for the list widgets. --- doomsday/doomsday.pro | 1 - doomsday/engine/portable/src/window.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doomsday/doomsday.pro b/doomsday/doomsday.pro index 827f505966..60768bc076 100644 --- a/doomsday/doomsday.pro +++ b/doomsday/doomsday.pro @@ -4,4 +4,3 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS = build libdeng2 engine plugins host postbuild - diff --git a/doomsday/engine/portable/src/window.cpp b/doomsday/engine/portable/src/window.cpp index 6e775fbe02..a601e25762 100644 --- a/doomsday/engine/portable/src/window.cpp +++ b/doomsday/engine/portable/src/window.cpp @@ -461,11 +461,11 @@ struct ddwindow_s // Update for busy mode. R_UseViewPort(0); } + R_LoadSystemFonts(); if(UI_IsActive()) { UI_UpdatePageLayout(); } - R_LoadSystemFonts(); } };