mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
* When auto_refresh_time is enabled, don't actually refresh anything when the footer is hidden. * Fix a bunch of state tracking related to height computations, meaning `getHeight()` is now actually accurate, always, and we don't need shitty workarounds anymore. * `footer_container.dimen.h` *includes* the progress bar, so, never reset it to 0 unless the progress bar is disabled (some `settings.progress_bar_position` codepaths were mistakenly doing just that). * More aggressively set/reset `footer_text.height` (not sure this one makes much of a difference, and/or if it's actually useful at all, but, the tracking was already there, but hella inconsistent, so, just fix it). * Honor `settings.reclaim_height` in other bits of code that were only checking `footer_visible` to figure out the visible page area. * Ask ReaderView to update the `visible_area` *now* when toggling the footer's visibility (for ReaderPaging).