8000 Add noise, RTL support and other fixes by joogps · Pull Request #12 · joogps/Glur · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add noise, RTL support and other fixes #12

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Add noise, RTL support and other fixes #12

wants to merge 7 commits into from

Conversation

joogps
Copy link
Owner
@joogps joogps commented Apr 26, 2024

This pull request adds:

  • A new noise parameter to the .glur() modifier that lets you specify an amount of noise for the blur effect. The noise is applied through an overlay blending mode.
  • It also adds leading and trailing as notation options for the BlurDirection enum. These options are evaluated at runtime and depend on the user's locale.
  • Additionally, this pull request uses the view's SwiftUI size to calculate the blur gradient instead of the texture size. This should lead to a more uniform effect across platforms and display densities.

It fixes #10.

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.

RTL support
1 participant
0