mirror of
https://github.com/yattee/yattee.git
synced 2025-11-13 21:58:48 +00:00
Refactor orientation logic when entering fullscreen to better handle button-initiated vs gesture-initiated transitions: - Consolidate orientation determination into a single expression that considers whether fullscreen was initiated by button or gesture - When initiated by button, always use rotateToLandscapeOnEnterFullScreen preference - When initiated by gesture, respect current device orientation if already in landscape, otherwise use preference - Apply .landscape lock only for button-initiated transitions, .all for gesture-initiated (when not orientation locked) This provides more intuitive behavior where button taps rotate to preferred orientation, while gestures respect current device orientation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>