mirror of
https://github.com/yattee/yattee.git
synced 2026-10-24 13:42:54 +00:00
The fullscreen toggle used to slide both panels off screen while the video frame grew into the freed space. Panels now stay at their home positions as layers under the video, and the video frame grows over them to hide and shrinks back to reveal. Both panels stay in the hierarchy while covered, so scroll position and loaded content survive toggles; hit testing, accessibility and the dismiss-pan exclusion frames are switched off while covered (PanelResizeGrabber gets a publishesFrame flag for this). Side column gestures (grabber overdrag, trailing edge swipe) drive the video's trailing edge over the static column. The below panel's handle drag keeps sliding the panel off the bottom, with the video growing in lockstep so the edges coincide. The below panel is raised above the video only while expanding over it, and drops back under it after the collapse spring has fully settled. Hiding the status bar in the fullscreen state changed the top safe area and reflowed the whole layout mid-transition. The layout now ignores the top safe area and pads by a fixed status bar height (remembered by StatusBarVisibilityController while the bar is visible); the fullscreen video grows up into that strip as part of the same animation.
50 KiB
50 KiB