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

remove optimization which incorrectly skips gutter rendering #205

Merged
merged 1 commit into from
Aug 29, 2017

Conversation

davidsbailey
Copy link

Today droplet won't redraw the gutter when breakpoints, warnings or errors are added. This is because an optimization skips rendering each line of the gutter when that line's position has not changed.

The solution proposed here is to remove the optimization. I'm unable to notice a difference in performance when switching between text mode and block mode with a full screen of code in App Lab, so I don't think there will be a performance regression here.

@davidsbailey davidsbailey merged commit 25940e4 into code-dot-org Aug 29, 2017
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.

None yet

2 participants