Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).