Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Enhance doubletap gesture in tutorial #28296

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FX-Wood
Copy link

@FX-Wood FX-Wood commented Apr 18, 2024

Why

The doubletap gesture in the StickerSmash repository felt incomplete. After the first doubletap results in a 2x increase in size, subsequent doubletaps had no effect.

How

This change makes it so that doubletap gestures on 'stickers' alternately enlarges and shrinks them.

Test Plan

I tested this on the web build of my StickerSmash project.

Perhaps there could be some float equality issues on mobile, but I don't have a test setup for that.

Here's a minimal repo for anyone with a mobile test setup: https://github.com/FX-Wood/StickerSmash

Checklist

@expo-bot expo-bot added the bot: passed checks ExpoBot has nothing to complain about label Apr 18, 2024
@FX-Wood FX-Wood changed the title Enhance doubletap gesture Enhance doubletap gesture in tutorial Apr 18, 2024
@amandeepmittal amandeepmittal changed the title Enhance doubletap gesture in tutorial [docs] Enhance doubletap gesture in tutorial Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants