From 57a6c363296698b1403e7fa494e0084a67d37699 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 31 Jan 2014 23:11:13 +0100 Subject: [PATCH] CComponents: remove wrong init value for item position This causes an unnecessary offset and possible fb-remains. This was observed at the header in Imageinfo, but only without shadow. --- src/gui/components/cc_base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_base.cpp b/src/gui/components/cc_base.cpp index a2d688000..c9c49528a 100644 --- a/src/gui/components/cc_base.cpp +++ b/src/gui/components/cc_base.cpp @@ -56,8 +56,8 @@ void CComponents::clearSavedScreen() void CComponents::initVarBasic() { - x = saved_screen.x = 1; - y = saved_screen.y = 1; + x = saved_screen.x = 0; + y = saved_screen.y = 0; cc_xr = x; cc_yr = y; height = saved_screen.dy = CC_HEIGHT_MIN;