We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
set_fill_style_str
Thanks for all of your hard work on this great tooling.
The new set_fill_style_str function on the canvas rendering context doesn't work. However the depricated set_fill_style works fine.
set_fill_style
invalid-fns-repo.zip
The set_fill_style_str should update the fill style.
The generated JS code appears to be incorrect:
imports.wbg.__wbg_setfillStyleStr_c0046ed6f7a4a4e0 = function ( arg0, arg1, arg2 ) { arg0.fillStyleStr = getStringFromWasm0(arg1, arg2); };
Since fillStyleStr is not valid in the js API, it is ignored.
This change was introduced by #4156.
Tangentially, the MDN link shown in the doc comments for the set_fill_style_str is broken: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyleStr.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Thanks for all of your hard work on this great tooling.
Describe the Bug
The new
set_fill_style_str
function on the canvas rendering context doesn't work. However the depricatedset_fill_style
works fine.Steps to Reproduce
set_fill_style_str
functioninvalid-fns-repo.zip
Expected Behavior
The
set_fill_style_str
should update the fill style.Actual Behavior
The generated JS code appears to be incorrect:
Since fillStyleStr is not valid in the js API, it is ignored.
This change was introduced by #4156.
Tangentially, the MDN link shown in the doc comments for the
set_fill_style_str
is broken: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillStyleStr.The text was updated successfully, but these errors were encountered: