From 83deb399dda1dfcbca3180d579cf2cc7cfd88593 Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Fri, 30 Nov 2007 01:58:06 +0000 Subject: [PATCH] small fix git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@296 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/Launcher/ARM9/src/launcher.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/systemMenu_RED/Launcher/ARM9/src/launcher.c b/build/systemMenu_RED/Launcher/ARM9/src/launcher.c index 93018f15..55e7c930 100644 --- a/build/systemMenu_RED/Launcher/ARM9/src/launcher.c +++ b/build/systemMenu_RED/Launcher/ARM9/src/launcher.c @@ -529,6 +529,12 @@ static void MoveByScrollBar( void ) { static BOOL holding = FALSE; static int dx; + + if(!holding) + { + bar_left = (int)(BAR_ZERO_X + (ITEMDOT_PER_FRAME * s_csr)); + } + if(tpd.disp.touch) { if(holding) @@ -557,7 +563,6 @@ static void MoveByScrollBar( void ) holding = FALSE; csr_v = (det < FRAME_PER_SELECT/2) ? (det == 0 ? 0 : -1) : 1; } - bar_left = (int)(BAR_ZERO_X + (ITEMDOT_PER_FRAME * s_csr)); } }