Skip to content

Commit

Permalink
UI|Fixed: Update fonts before UI resize
Browse files Browse the repository at this point in the history
With the updated fonts, the UI widgets can be updated correctly.
Previously the wrong font height was used for the list widgets.
  • Loading branch information
skyjake committed Apr 26, 2012
1 parent 89ad8da commit 4ec929f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion doomsday/doomsday.pro
Expand Up @@ -4,4 +4,3 @@
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = build libdeng2 engine plugins host postbuild

2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/window.cpp
Expand Up @@ -461,11 +461,11 @@ struct ddwindow_s
// Update for busy mode.
R_UseViewPort(0);
}
R_LoadSystemFonts();
if(UI_IsActive())
{
UI_UpdatePageLayout();
}
R_LoadSystemFonts();
}
};

Expand Down

0 comments on commit 4ec929f

Please sign in to comment.