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

Fix: improve device detection for touch screen laptops with high-DPI displays #15

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

Waaiez
Copy link
Contributor

@Waaiez Waaiez commented Sep 5, 2024

I was playing around with Haptic and was not happy with how scaled down the UI looks because of my ""fix"" in #14

Decided to just do a PR and fix the issue

Tested on my laptop with the scenarios I listed in the issue and this PR solves the issue
Double checked on my phone to make sure it still blocks mobile as it should

Current Haptic running at 2880x1800 and 175% scale, 80% zoom in Chrome
{B2B1F41B-C914-4C0C-9DFA-1AF120D071A3}

Haptic after the fix, same settings, just running at 100% zoom in Chrome
{C93E5773-B3AD-4108-B4F2-6819967A477B}

Copy link

vercel bot commented Sep 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
haptic-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2024 2:05pm
haptic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2024 2:05pm

Copy link

vercel bot commented Sep 5, 2024

@Waaiez is attempting to deploy a commit to the chroxify's team Team on Vercel.

A member of the Team first needs to authorize it.

@chroxify
Copy link
Owner

chroxify commented Sep 7, 2024

Hey @Waaiez, thanks a lot for the PR! I'll mark #14 as resolved too.

@chroxify chroxify merged commit e7387a4 into chroxify:main Sep 7, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants