From 91400f8fefeb0726fe33a75d2631735b227056af Mon Sep 17 00:00:00 2001 From: chrox Date: Tue, 21 Oct 2014 22:40:43 +0800 Subject: [PATCH] expand/collapse for the left one third region should be more resonable --- frontend/apps/reader/modules/readertoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/reader/modules/readertoc.lua b/frontend/apps/reader/modules/readertoc.lua index ab15deeec..a444e6686 100644 --- a/frontend/apps/reader/modules/readertoc.lua +++ b/frontend/apps/reader/modules/readertoc.lua @@ -307,7 +307,7 @@ function ReaderToc:onShowToc() function toc_menu:onMenuSelect(item, pos) -- if toc item has expand/collapse state and tap select on the left side -- the state switch action is triggered, otherwise goto the linked page - if item.state and pos.x < 0.5 then + if item.state and pos.x < 0.3 then item.state.callback() else toc_menu:close_callback()