Merge remote-tracking branch 'ups/master' into fast_setTheme
This commit is contained in:
+3
-1
@@ -110,7 +110,9 @@ export namespace css {
|
||||
const canvas = document.createElement('canvas');
|
||||
canvas.width = 1;
|
||||
canvas.height = 1;
|
||||
const ctx = canvas.getContext('2d');
|
||||
const ctx = canvas.getContext('2d', {
|
||||
willReadFrequently: true
|
||||
});
|
||||
if (ctx) {
|
||||
$ctx = ctx;
|
||||
$ctx.globalCompositeOperation = 'copy';
|
||||
|
||||
Reference in New Issue
Block a user