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

fix: exposing Frame properties and removing redundant calls to __convert_disposal_mode__ #27

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

LeonChuu
Copy link
Contributor

@LeonChuu LeonChuu commented Mar 6, 2023

Hello,

I wanted to access the duration and disposalMode properties in the Frame class, so i added them to ImageScript.d.ts and made a setter that calls Frame.convert_disposal_mode(disposalMode).

I also removed the direct calls to convert_disposal_mode in the constructor and from() since the assignment will call the setter.

@matmen matmen merged commit 140a93e into matmen:master Sep 29, 2023
matmen pushed a commit that referenced this pull request Sep 29, 2023
matmen pushed a commit that referenced this pull request Sep 29, 2023
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.

2 participants