From e3bbd2d64066904c44faf261036628452223d715 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 28 Mar 2021 16:56:06 -0700 Subject: [PATCH] lint --- js/gl.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/gl.ts b/js/gl.ts index 9b87621..2d960a3 100644 --- a/js/gl.ts +++ b/js/gl.ts @@ -694,7 +694,7 @@ export class VideoModesGL implements VideoModes { } private defaultMonitor(): screenEmu.DisplayConfiguration { - let config = new screenEmu.DisplayConfiguration(); + const config = new screenEmu.DisplayConfiguration(); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.displayScanlineLevel = 0.5; @@ -708,7 +708,7 @@ export class VideoModesGL implements VideoModes { private monitorII(): screenEmu.DisplayConfiguration { // Values taken from openemulator/libemulation/res/library/Monitors/Apple Monitor II.xml - let config = new screenEmu.DisplayConfiguration(); + const config = new screenEmu.DisplayConfiguration(); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.displayResolution = new screenEmu.Size(this.canvas.width, this.canvas.height); config.videoDecoder = 'CANVAS_MONOCHROME';