Page MenuHomePhorge

D25209.1737252868.diff
No OneTemporary

D25209.1737252868.diff

diff --git a/src/applications/files/builtin/PhabricatorFilesComposeAvatarBuiltinFile.php b/src/applications/files/builtin/PhabricatorFilesComposeAvatarBuiltinFile.php
--- a/src/applications/files/builtin/PhabricatorFilesComposeAvatarBuiltinFile.php
+++ b/src/applications/files/builtin/PhabricatorFilesComposeAvatarBuiltinFile.php
@@ -188,7 +188,7 @@
$g = $rgba[1];
$b = $rgba[2];
$a = $rgba[3];
- $a = (1 - $a) * 255;
+ $a = round(((1 - $a) * 255), 0);
return ($a << 24) | ($r << 16) | ($g << 8) | $b;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 02:14 (6 h, 14 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1131010
Default Alt Text
D25209.1737252868.diff (537 B)

Event Timeline