From e49c6990624fd6ace230a04b3fd8bbb94202644e Mon Sep 17 00:00:00 2001 From: James Babcock Date: Thu, 20 Aug 2026 01:36:31 -0700 Subject: [PATCH] Increase size of EvenHub logo --- app/apps/launcher/launcher-app.ts | 8 +++++--- app/images/EvenRealitiesLogo.png | Bin 483 -> 168 bytes 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/apps/launcher/launcher-app.ts b/app/apps/launcher/launcher-app.ts index 916730f7..225a28f2 100644 --- a/app/apps/launcher/launcher-app.ts +++ b/app/apps/launcher/launcher-app.ts @@ -291,12 +291,14 @@ class LauncherGridLayer implements Layer { // A fully visible icon goes through the deferred-image path (texture // cacheable); the clipped peeking row falls back to a raster blit, // since cached draws are whole-image only. - const clipHeight = Math.min(icon.height, Math.floor(gridBottom - blockTop)); + // Icons narrower/shorter than ICON_SIZE (a non-square logo scaled to + // fit) are centered in the square the row reserves for them. const iconX = Math.round(centerX - icon.width / 2); - const iconY = Math.round(blockTop); + const iconY = Math.round(blockTop + Math.max(0, (ICON_SIZE - icon.height) / 2)); + const clipHeight = Math.min(icon.height, Math.floor(gridBottom - iconY)); if (clipHeight >= icon.height) { image.drawImage(icon, iconX, iconY); - } else { + } else if (clipHeight > 0) { image.bitBlt(icon, iconX, iconY, { height: clipHeight, transparentZero: true }); } } diff --git a/app/images/EvenRealitiesLogo.png b/app/images/EvenRealitiesLogo.png index 72dac6c51584f359326a4bb16f6c57a620430047..ff953cf2fc91620e36ef1db52d5530851db2d7d7 100644 GIT binary patch literal 168 zcmeAS@N?(olHy`uVBq!ia0vp^IY1oE0VEhU7umA_seDft$B>F!Z?7#BY%maUIVjSw zkU@lZ$^Wo`3K8BGrgH|9^(E5cnX5lV^+#Rl&QkWu5n*jUm|$?jf1|BcSJl>Cp%AY9 zM&nyupVlQ9Nbs=DK7Q?m)~Vf1KxGm+a=RBV)p*av2Gq1cKbe2^GN$)>7MZs}PVjW~ Kb6Mw<&;$Td$~(OP literal 483 zcmeAS@N?(olHy`uVBq!ia0vp^2SAtuNHCOdH@*#|n3BBRT^Rni_n+AhHvWoPl|SBY_*7VR;7VuCtJ3bA|JBm%Ze6?nVTtvoSq;eW);Gpr^-a?cpZfli@!g3mCKPy^-DmEJIzH|5 p-P=l~=asmJ2?wA+n3EY8X8&MSb{FWj