Skip to content

Commit

Permalink
fix(hedgehog): Fix hedgehog in profile pictures (#24813)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes authored Sep 5, 2024
1 parent 7fa73a8 commit 6d6dd2e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ export function HedgehogBuddyStatic({
onClick={waveOnAppearance ? () => setAnimationIteration((x) => x + 1) : undefined}
>
<div
className="object-cover absolute inset-0 image-pixelated"
className="object-cover absolute inset-0 image-pixelated size-[400%] bg-cover"
// eslint-disable-next-line react/forbid-dom-props
style={{
width: '400%',
height: '400%',
filter: filter as any,
backgroundImage: `url(${baseSpritePath()}/wave.png)`,
backgroundPosition: `-${((animationFrameRef.current - 1) % X_FRAMES) * SPRITE_SIZE}px -${
Expand Down

0 comments on commit 6d6dd2e

Please sign in to comment.