From b2a195492c3e538082f55d538ed87f1844e2a00d Mon Sep 17 00:00:00 2001 From: Michel Kaporin Date: Thu, 27 Jul 2017 10:16:46 +0200 Subject: [PATCH] Corrected formatting --- src/vs/editor/contrib/colorPicker/common/colorFormatter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts b/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts index c3a563dfbd4..dba266e0852 100644 --- a/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts +++ b/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts @@ -51,10 +51,10 @@ function createPropertyNode(variable: string, fractionDigits: number, type: stri case 'red': absoluteValue = normalize(color.toRGBA().r, min, max, RGBA_ENDRANGE); break; - case 'blue': + case 'green': absoluteValue = normalize(color.toRGBA().g, min, max, RGBA_ENDRANGE); break; - case 'green': + case 'blue': absoluteValue = normalize(color.toRGBA().b, min, max, RGBA_ENDRANGE); break; case 'alpha': -- GitLab