From 7af1141d6a80ecf8592e8a0b8bb9942cb27fc1a8 Mon Sep 17 00:00:00 2001 From: William Candillon Date: Thu, 2 Sep 2021 11:04:45 +0200 Subject: [PATCH] :green_heart: --- src/Colors.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Colors.ts b/src/Colors.ts index b6c2e52..7008ec9 100644 --- a/src/Colors.ts +++ b/src/Colors.ts @@ -60,21 +60,21 @@ export const hsv2rgb = (h: number, s: number, v: number) => { }; export const opacity = (c: number): number => { - 'worklet'; + "worklet"; return ((c >> 24) & 255) / 255; }; export const red = (c: number): number => { - 'worklet'; + "worklet"; return (c >> 16) & 255; }; export const green = (c: number): number => { - 'worklet'; + "worklet"; return (c >> 8) & 255; }; export const blue = (c: number): number => { - 'worklet'; + "worklet"; return c & 255; };