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

Improvements #1

Conversation

RunDevelopment
Copy link

This makes a few improvements:

  • Removed makeActions in favor of a simple array.
  • Whitespace changes and a little doc
  • This fixes the line action(pre.appendChild, pre.querySelector('code') || pre, [line]);. action is an object.

Please verify that the reflow problem is still fixed. @Mattchewone @justinbmeyer.

@justinbmeyer
Copy link

Looks good to me.

@Mattchewone Mattchewone merged commit e663d75 into Mattchewone:#1860-prism-line-highlight-is-slow-on-resize-because-it-forces-a-reflow-for-every May 7, 2019
@RunDevelopment RunDevelopment deleted the line-highlight-reflow branch May 7, 2019 22:09
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.

3 participants