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

Account for scale when updating the gutter height #63

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

viorgu
Copy link
Contributor

@viorgu viorgu commented Feb 20, 2024

The gutter ends up at an incorrect height when the editor is scaled after it is created.

codemirror-gutter-issue

The issue seems to be that scaleY is used when calculating the gutter height in the constructor but not in subsequent view updates.

@marijnh marijnh merged commit ccf7f5e into codemirror:main Feb 20, 2024
@marijnh
Copy link
Member

marijnh commented Feb 20, 2024

Thanks for spotting that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants