-
Notifications
You must be signed in to change notification settings - Fork 440
Fix missing optional parameter of createImageBitmap #571
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
Changes from 6 commits
b2fb7c7
96eae1c
da508fb
479a646
aea3f34
7315100
7d23352
ad5e0ca
a88d12f
a45cbb0
b1d3fd1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,45 +396,6 @@ | |
} | ||
} | ||
}, | ||
"ImageBitmapOptions": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What replaces this entry? Whatever it is, it results in a whole bunch of unwanted type aliases. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The already existing |
||
"flavor": "All", | ||
"name": "ImageBitmapOptions", | ||
"properties": { | ||
"property": { | ||
"imageOrientation": { | ||
"name": "imageOrientation", | ||
"override-type": "\"none\" | \"flipY\"", | ||
"required": 0 | ||
}, | ||
"premultiplyAlpha": { | ||
"name": "premultiplyAlpha", | ||
"override-type": "\"none\" | \"premultiply\" | \"default\"", | ||
"required": 0 | ||
}, | ||
"colorSpaceConversion": { | ||
"name": "colorSpaceConversion", | ||
"override-type": "\"none\" | \"default\"", | ||
"required": 0 | ||
}, | ||
"resizeWidth": { | ||
"name": "resizeWidth", | ||
"override-type": "number", | ||
"required": 0 | ||
}, | ||
"resizeHeight": { | ||
"name": "resizeHeight", | ||
"override-type": "number", | ||
"required": 0 | ||
}, | ||
"resizeQuality": { | ||
"name": "resizeQuality", | ||
"override-type": "\"pixelated\" | \"low\" | \"medium\" | \"high\"", | ||
"required": 0 | ||
} | ||
} | ||
}, | ||
"no-interface-object": "1" | ||
}, | ||
"Window": { | ||
"name": "Window", | ||
"properties": { | ||
|
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.
Small global aliases are annoying because of alias interning: everybody with a type none | default will now see the name ColorSpaceConversion for it.
Not sure the best workaround for this. I’ll think about it.
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.
Thank you for reviewing, I will find time to come back and reconsider about this PR soon. :)