Skip to content

Commit

Permalink
fix(suite-native): apply blur correctly after Skia update
Browse files Browse the repository at this point in the history
  • Loading branch information
yanascz committed Feb 12, 2025
1 parent b1ea07e commit 010cc7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions suite-native/atoms/src/DiscreetText/DiscreetCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ export const DiscreetCanvas = ({ width, height, fontSize, text, color }: Discree

return (
<Canvas style={applyStyle(discreetCanvasStyle, { height, width })}>
<SkiaText y={fontSize} text={text} font={font} color={colors[color]} />
<Blur blur={blurValue} mode="decal" />
<SkiaText y={fontSize} text={text} font={font} color={colors[color]}>
<Blur blur={blurValue} mode="decal" />
</SkiaText>
</Canvas>
);
};

0 comments on commit 010cc7c

Please sign in to comment.