Block transparent colors without allowTransparency

Fixes xterm/xterm.js#1357.
This commit is contained in:
Benjamin Woodruff
2018-03-29 22:04:24 -07:00
parent 0cb6138cd0
commit b66b0aae18
3 changed files with 39 additions and 10 deletions
+2 -2
View File
@@ -25,10 +25,10 @@ describe('ColorManager', () => {
fillRect(): void { },
getImageData(): any {
return {data: [0, 0, 0, 0]};
return {data: [0, 0, 0, 0xFF]};
}
});
cm = new ColorManager(document);
cm = new ColorManager(document, false);
});
describe('constructor', () => {