From 0a40639af2b9f531d6415ad59fa6879794f7c04e Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 27 Jan 2006 23:13:51 +0000 Subject: This should fix bug # 1416862 (new theme: changing overlay size). svn-id: r20253 --- gui/ThemeNew.cpp | 2 ++ gui/theme.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 679d6c79f6..b5e043221b 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -224,6 +224,8 @@ void ThemeNew::refresh() { } void ThemeNew::enable() { + init(); + resetDrawArea(); _system->showOverlay(); clearAll(); } diff --git a/gui/theme.cpp b/gui/theme.cpp index e7fbdc6808..eacda895b9 100644 --- a/gui/theme.cpp +++ b/gui/theme.cpp @@ -77,6 +77,8 @@ void ThemeClassic::refresh() { } void ThemeClassic::enable() { + init(); + resetDrawArea(); _system->showOverlay(); clearAll(); } -- cgit v1.2.3