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

Don't scale single-char text divs. #5221

Merged

Commits on Aug 21, 2014

  1. Don't scale single-char text divs.

    This change makes scrolling noticeably smoother on files with many
    single-char text divs, such as the one in mozilla#1045. The trade-off is that
    the visual appearance of text selection in such documents is slightly
    worse, because more text divs overlap.
    
    This change also uses `scaleX(N)` instead of `scale(N, 1)`. This might
    be marginally more efficient in terms of JS string concatenation.
    nnethercote committed Aug 21, 2014
    Configuration menu
    Copy the full SHA
    cd61aad View commit details
    Browse the repository at this point in the history