From 53a936ab833ea3cfd460d4713f45a8ab98e6620a Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Wed, 6 Oct 2010 12:35:37 +0000 Subject: text viewer: -remove 1px gap at the top and bottom of the screen to maximize the draw erea, especially for small screens. -fix trashes on the vertical scrollbar when scrolled the column left/right. -fix bug that vertical scrllbar sometimes goes up while scrolling down. -don't chage displayed line after closing menu. -use simplelist to select bookmark to make it work better. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28213 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/text_viewer/tv_action.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/plugins/text_viewer/tv_action.c') diff --git a/apps/plugins/text_viewer/tv_action.c b/apps/plugins/text_viewer/tv_action.c index 1e5473b438..54cec38f72 100644 --- a/apps/plugins/text_viewer/tv_action.c +++ b/apps/plugins/text_viewer/tv_action.c @@ -174,8 +174,6 @@ unsigned tv_menu(void) if (res == TV_MENU_RESULT_EXIT_MENU) { tv_convert_fpos(cur_file_pos, &cur_pos); - if (preferences->vertical_scroll_mode == VS_PAGE) - cur_pos.line = 0; tv_move_screen(cur_pos.page, cur_pos.line, SEEK_SET); } -- cgit v1.2.3