Skip to content

Commit 45e5e0d

Browse files
committed
Remove useless comment
1 parent e4fddcc commit 45e5e0d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

package/src/skia/web/JsiSkColor.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,6 @@ const parseCSSColor = (cssStr: string) => {
252252
(iv & 0xff00) >> 8,
253253
(iv & 0xff) / 255,
254254
];
255-
/*
256-
if (!(iv >= 0 && iv <= 0xffffffff))
257-
return {}; // Covers NaN.
258-
return {static_cast<uint8_t>(((iv & 0xff000000) >> 24) & 0xff),
259-
static_cast<uint8_t>((iv & 0x00ff0000) >> 16),
260-
static_cast<uint8_t>((iv & 0x0000ff00) >> 8),
261-
static_cast<uint8_t>((iv & 0x000000ff)) / 255.0f};
262-
*/
263255
}
264256

265257
return null;

0 commit comments

Comments
 (0)