Block transparent colors without allowTransparency
Fixes xterm/xterm.js#1357.
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user