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 webgl config #3407

Merged
merged 4 commits into from
Jan 22, 2019
Merged

Fix webgl config #3407

merged 4 commits into from
Jan 22, 2019

Conversation

juancampa
Copy link
Contributor

Fixes:

  1. The webGLRenderer flag was in the wrong place in config-default.js. Not letting new users change the renderer.
  2. The check to see if the user config has a value for webGLRenderer was incorrect. Defaulting to the canvas renderer.

@juancampa juancampa requested a review from chabou January 10, 2019 21:16
@chabou
Copy link
Collaborator

chabou commented Jan 11, 2019

@rauchg Do you want an automatic fallback to canvas if the user is using a non-opaque background color?

With this PR, WebGLRenderer will be activated by default and will break transparency.

app/config/config-default.js Outdated Show resolved Hide resolved
Co-Authored-By: juancampa <juancampa@gmail.com>
The hardcoding to white was also removed in favor of a temporary hack in
xterm.js that uses either white-over-black or black-overwhite to
maximize contrast with the background color
@juancampa juancampa merged commit 519ca3e into vercel:canary Jan 22, 2019
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.

4 participants