Skip to content

Commit

Permalink
fix(components): 🐛 Remove onPointer handlers
Browse files Browse the repository at this point in the history
in touch devices
  • Loading branch information
mini-mirana committed Mar 26, 2022
1 parent d1e23ba commit 4246cec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Stack/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export function Stack({
<meshBasicMaterial color='#161a1d' />
</mesh>
<AnimatedText
maxWidth={width - 0.6}
maxWidth={width / 2}
font={
c?.titleFont ||
'https://res.cloudinary.com/mirana/raw/upload/v1648124858/personal-website/NotoSansMerged-Regular_my0irf.ttf'
Expand Down Expand Up @@ -263,7 +263,7 @@ export function Stack({
anchorX='left'
position-x={0.5 * width + 0.3}
anchorY='top'
position-y={-0.5}>
position-y={c?.descriptionY || -0.5}>
{c.description}
<meshStandardMaterial color='white' />
</Text>
Expand Down

0 comments on commit 4246cec

Please sign in to comment.