Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Metal): force a full rebuild in setFontGrid #6008

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

qwerasd205
Copy link
Member

@qwerasd205 qwerasd205 commented Feb 26, 2025

This was causing garbled text due to a non-rebuilt rows referencing an outdated atlas when the DPI changed but not the grid dimensions, which could be caused by a variety of things such as the quick terminal slide-in, dpi scaling changes on sleep/wake, moving windows between displays because of closing/opening the laptop lid, etc.

Fixes #2731

This was causing garbled text due to a non-rebuilt rows referencing an
outdated atlas when the DPI changed but not the grid dimensions, which
could be caused by a variety of things such as the quick terminal
slide-in, dpi scaling changes on sleep/wake, moving windows between
displays because of closing/opening the laptop lid, etc.
@qwerasd205 qwerasd205 requested a review from a team as a code owner February 26, 2025 19:11
@qwerasd205 qwerasd205 enabled auto-merge February 26, 2025 19:14
@qwerasd205 qwerasd205 merged commit a1437e5 into ghostty-org:main Feb 27, 2025
29 checks passed
@github-actions github-actions bot added this to the 1.2.0 milestone Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On the second display quick terminal view is scrambled until click or type event
3 participants