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

Global option to disable POW effects when voiceover is activated #52

Open
iTarek opened this issue Dec 13, 2023 · 0 comments
Open

Global option to disable POW effects when voiceover is activated #52

iTarek opened this issue Dec 13, 2023 · 0 comments

Comments

@iTarek
Copy link

iTarek commented Dec 13, 2023

POW is not necessarily suitable for users who utilize voiceover. It can also damage the voiceover and occasionally create an excessively large accessibility rectangle with effects like (.spray, glow, etc..). I would like to propose a global option to disable POW effects when voiceover is activated. At present, I have to do this manually.

                            .if(!UIAccessibility.isVoiceOverRunning) {
                                $0.changeEffect(
                                    .spray(origin: UnitPoint(x: 0.25, y: 0.5)) {
                                        Image(systemName: isFavorite ? "heart.fill" : "xmark")
                                            .foregroundStyle(isFavorite ? .red : .gray)
                                    }, value: itemsModel.favoriteItems.contains(item))
                            }
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

No branches or pull requests

1 participant