Skip to content

Commit f7d7631

Browse files
committed
Handle first function
1 parent c61d969 commit f7d7631

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webapp/src/Utils/Utils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ public static function hexToForegroundAndBorder(string $rgb): array
413413
$background = Utils::parseHexColor($rgb);
414414

415415
// Pick a border that's a bit darker.
416+
// We explicit keep the alpha channel as-is.
416417
$darker = $background;
417418
$darker[0] = max($darker[0] - 64, 0);
418419
$darker[1] = max($darker[1] - 64, 0);

0 commit comments

Comments
 (0)