mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 03:20:46 -05:00
The navigation suite switches to a rail once the window is at least 480dp tall, but the collapsed rail with the FAB header needs about 476dp of its own height for all five destinations plus the 44dp bottom space. In short freeform windows on desktop the last rail item was clipped by the window edge. The rail cannot scroll and its spacing is fixed, so fall back to the short navigation bar when the height left for the rail after system bars is below 520dp, the same switch the library already makes for windows under 480dp. Assisted-by: Claude Opus 5.5