Fix DynamicCharAtlas with transparency

There were two bugs:
- We need to clear the background of _tmpCtx instead of just drawing on
  top if the background color is transparent.
- We should set the background to fully transparent if it's partially
  transparent, to avoid drawing the transparent background twice.
This commit is contained in:
Benjamin Woodruff
2018-04-15 19:43:23 -07:00
parent ac7db87fd0
commit 9c0ce1d742
4 changed files with 39 additions and 5 deletions
+3
View File
@@ -26,6 +26,9 @@
<p>
<label><input type="checkbox" id="option-mac-option-is-meta"> macOptionIsMeta</label>
</p>
<p>
<label><input type="checkbox" id="option-transparency"> transparency</label>
</p>
<p>
<label>
cursorStyle