-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add dynamic overlay update #4
Add dynamic overlay update #4
Conversation
c96ea72
to
0c5166a
Compare
a6a3029
to
46f17ca
Compare
2c8fbc2
to
5e62e22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! I believe we are safe to publish a new release as well.
I can apply the suggested changes before merging or you can do it on your own, just let me know what you prefer ;)
lib/update_overlay.ex
Outdated
overlay: Path.t() | Vix.Vips.Image.t(), | ||
x: integer() | :center | :left | :right, | ||
y: integer() | :middle | :top | :bottom, | ||
blend_mode: Image.BlendMode.t() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we could unify the typespecs for the filter options and for the update overlay struct.
… initial overlay and dynamic overlay changess
Add overlay description struct and use it in unified way for both the initial overlay and dynamic overlay changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
Adds ability to dynamically update overlay