From 75668612bede1c9971e6cb77eda396525d1019b1 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 28 May 2016 13:21:32 +0200 Subject: [PATCH] fixed alignment of lists --- coreengine/viewlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreengine/viewlist.c b/coreengine/viewlist.c index bda1abb..a10bb9a 100644 --- a/coreengine/viewlist.c +++ b/coreengine/viewlist.c @@ -165,7 +165,7 @@ void cViewList::PreCache(void) { step = width / numElements; } - int start = 0; + int start = y; if (align == eAlign::center) { if (orientation == eOrientation::vertical) { start = y + (height - numElements * step) / 2;