Skip to content

fix: cap mobile devicePixelRatio#10

Closed
web3dev1337 wants to merge 1 commit intofix/cap-mobile-dprfrom
fix/cap-mobile-devicepixelratio
Closed

fix: cap mobile devicePixelRatio#10
web3dev1337 wants to merge 1 commit intofix/cap-mobile-dprfrom
fix/cap-mobile-devicepixelratio

Conversation

@web3dev1337
Copy link
Copy Markdown
Owner

@web3dev1337 web3dev1337 commented Mar 4, 2026

Stacked on PR #5 (fix/cap-mobile-dpr). Adds iOS/iPadOS-specific DPR cap.

What this adds on top of PR #5:

  • iOS/iPadOS detection (isIOSOrIPadOS()) — handles iPadOS 13+ reporting as MacIntel
  • iOS/iPadOS cap: <= 1.5 (stricter, avoids GPU memory issues)
  • Other mobile cap unchanged at <= 2.0
  • Pre-computed MAX_MOBILE_DPR constant so detection runs once at module load

🤖 Generated with Claude Code

@web3dev1337 web3dev1337 force-pushed the fix/cap-mobile-devicepixelratio branch from b8baa21 to 37de240 Compare March 4, 2026 03:26
@web3dev1337 web3dev1337 changed the base branch from review/mirror-upstream-pr-11 to fix/cap-mobile-dpr March 4, 2026 03:26
@web3dev1337
Copy link
Copy Markdown
Owner Author

Folded into PR #5 — all changes now in fix/cap-mobile-dpr.

@web3dev1337 web3dev1337 closed this Mar 4, 2026
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.

1 participant