Use protopiler for protocol buffers

Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
Fedor Indutny
2026-03-10 15:31:29 -07:00
committed by GitHub
parent b0e19f334e
commit c4ee32e9ee
97 changed files with 6197 additions and 6362 deletions

View File

@@ -65,7 +65,8 @@ export function computeBlurHashUrl(
desiredWidth = 1,
desiredHeight = 1
): string {
const invAspect = Math.abs(desiredHeight) / (Math.abs(desiredWidth) + 1e-23);
const invAspect =
(Math.abs(desiredHeight) + 1e-23) / (Math.abs(desiredWidth) + 1e-23);
// Calculate width and height that roughly satisfy the desired PIXEL_COUNT
//