File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,12 @@ module.exports = class CanvasLayer {
1212 this . canvas = document . createElement ( 'canvas' )
1313
1414 const desynchronized = process . platform !== "linux"
15- const lowLatency = desynchronized
1615
1716 /**
1817 * The onscreen canvas context.
1918 * @type {CanvasRenderingContext2D }
2019 */
21- this . context = this . canvas . getContext ( '2d' , { desynchronized : desynchronized , lowLatency : lowLatency } )
20+ this . context = this . canvas . getContext ( '2d' , { desynchronized } )
2221 this . canvas . webkitImageSmoothingEnabled = false
2322 this . context . imageSmoothingEnabled = false
2423
@@ -33,7 +32,7 @@ module.exports = class CanvasLayer {
3332 * @type {CanvasRenderingContext2D }
3433 * @access private
3534 */
36- this . offscreenContext = this . offscreenCanvas . getContext ( '2d' , { desynchronized : desynchronized , lowLatency : lowLatency } )
35+ this . offscreenContext = this . offscreenCanvas . getContext ( '2d' , { desynchronized } )
3736 this . offscreenCanvas . webkitImageSmoothingEnabled = false
3837 this . offscreenContext . imageSmoothingEnabled = false
3938 }
You can’t perform that action at this time.
0 commit comments