mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Tweak the spacer appearance condition
Make it sync with the first/last icon, instead of always showing it. Doesn't change much, since it's invisible, but, still, more correct this way ;).
This commit is contained in:
@@ -565,7 +565,7 @@ function Menu:updateItems(select_number)
|
||||
self.page_info_right_chev:showHide(self.page_num > 1)
|
||||
self.page_info_first_chev:showHide(self.page_num > 2)
|
||||
self.page_info_last_chev:showHide(self.page_num > 2)
|
||||
self.page_info_spacer:show()
|
||||
self.page_info_spacer:showHide(self.page_num > 2)
|
||||
|
||||
self.page_info_left_chev:enableDisable(self.page > 1)
|
||||
self.page_info_right_chev:enableDisable(self.page < self.page_num)
|
||||
|
||||
Reference in New Issue
Block a user