Add linting

This commit is contained in:
schmelczerandras 2020-08-18 16:52:11 +02:00
commit 40a660b7cb

View file

@ -11,10 +11,7 @@ export class DefaultFrameBuffer extends FrameBuffer {
public setSize() {
super.setSize();
if (
this.gl.canvas.width !== this.size.x ||
this.gl.canvas.height !== this.size.y
) {
if (this.gl.canvas.width !== this.size.x || this.gl.canvas.height !== this.size.y) {
this.gl.canvas.width = this.size.x;
this.gl.canvas.height = this.size.y;
}