Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drewolbrich/VolumeWindowZoom
A visionOS project that demonstrates how to scale a volume to account for Window Zoom changes
https://github.com/drewolbrich/VolumeWindowZoom
applevisionpro realitykit swiftui visionos volume
Last synced: 3 months ago
JSON representation
A visionOS project that demonstrates how to scale a volume to account for Window Zoom changes
- Host: GitHub
- URL: https://github.com/drewolbrich/VolumeWindowZoom
- Owner: drewolbrich
- License: unlicense
- Created: 2024-01-28T20:52:24.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-03T19:53:33.000Z (10 months ago)
- Last Synced: 2024-07-30T20:59:12.535Z (6 months ago)
- Topics: applevisionpro, realitykit, swiftui, visionos, volume
- Language: Swift
- Homepage: https://www.lunarskydiving.com/blog/volume-window-zoom/
- Size: 303 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VolumeWindowZoom
This visionOS project demonstrates how to scale a volume's contents to correctly account for changes to the user's Window Zoom setting.
For a complete description of the issue addressed by this project, see [https://www.lunarskydiving.com/blog/volume-window-zoom](https://www.lunarskydiving.com/blog/volume-window-zoom).
The code that resizes the volume's contents is in the file [ScaledBoxVolumeContentView.swift](VolumeWindowZoom/ScaledBoxVolumeContentView.swift).