Fix page position loss when switching reader modes
- Compare content.state with getCurrentState() to detect configuration changes vs intentional updates - Use content.state when they match (mode switch case) to preserve explicit state updates - Use getCurrentState() when they differ (rotation case) to restore saved position - This ensures both screen rotation and mode switching work correctly Co-authored-by: NathanBap <101987516+NathanBap@users.noreply.github.com>devel
parent
aeb3732d75
commit
5f879f6c83
Loading…
Reference in New Issue