Repository navigation
Top bar: in full screen the left buttons move into the traffic lights' space - #1767
Merged
echelon merged 1 commit intoOct 15, 2026
Merged
Conversation
Member
|
Thank you @marcoarnulfo! This landed on main in integration batch 36 (#1843). If you haven't already, please join our Discord: https://discord.gg/artcraft. We'd love to have you there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1763.
The top bar reserves a fixed 78 pt on the left whenever the integrated title bar is on (macOS), so in full screen, where the traffic lights are gone, the sidebar ("My Photos") and Back/Forward buttons kept that gap. The margin now follows
window_is_fullscreen, which the app already tracks from the viewport (it's also what keeps the title bar gestures off in full screen, from #408): 16 pt in full screen, the same distance the Discord button keeps from the right edge (12 pt margin + 4), and back to 78 pt when leaving. The parity row for the title bar mentions it.Validation:
tests_titlebar::full_screen_moves_the_left_buttons_into_the_traffic_lights_space: enters full screen with ⇧⌘F and leaves it again; fails on main (sidebar button at 78, Discord padding 16), passes herecargo test -p lightcraft-ui-egui --lib tests_titlebar,cargo clippy -p lightcraft-ui-egui --all-targets -- -D warnings,cargo fmt --all -- --check