client-options: make them case-insensitive & fix typo in docs

This commit is contained in:
bordun 2021-06-23 22:35:52 +02:00
parent 7528f702aa
commit 638244d6c0
5 changed files with 7 additions and 7 deletions

View file

@ -12,7 +12,7 @@ class Canvas extends Widget {
this.canvas = DOM.get(this.container, 'canvas')[0]
this.ctx = this.canvas.getContext('2d',{
desynchronized: !ELECTRON_NOGPU && ENV.desyncCanvas ? true : false,
desynchronized: !ELECTRON_NOGPU && ENV.desynccanvas ? true : false,
alpha: true
})