From 0f4d71b8f81b0133d335e4e8c4b4ccea7c60d039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Fri, 22 Oct 2021 18:26:46 +0200 Subject: [PATCH] make linter happy --- src/common/InputHandler.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/InputHandler.ts b/src/common/InputHandler.ts index a6c425b6..3505b548 100644 --- a/src/common/InputHandler.ts +++ b/src/common/InputHandler.ts @@ -2866,11 +2866,11 @@ export class InputHandler extends Disposable implements IInputHandler { /** * Parse xcolor name to RGB values (8 bit per channel). * See `man xparsecolor` for details about certain format specifications. - * + * * Supported formats: * - rgb:// with , , in h | hh | hhh | hhhh * - #RGB, #RRGGBB, #RRRGGGBBB, #RRRRGGGGBBBB - * + * * All other formats like rgbi: or device-independent string specifications * with float numbering are not supported. */ @@ -2887,7 +2887,7 @@ export class InputHandler extends Disposable implements IInputHandler { return [ Math.round(parseInt(m[1] || m[4] || m[7] || m[10], 16) / base * 255), Math.round(parseInt(m[2] || m[5] || m[8] || m[11], 16) / base * 255), - Math.round(parseInt(m[3] || m[6] || m[9] || m[12], 16) / base * 255), + Math.round(parseInt(m[3] || m[6] || m[9] || m[12], 16) / base * 255) ]; } } else if (data.indexOf('#') === 0) {