mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Disallow more methods
This commit is contained in:
parent
4a36741f9c
commit
29d3729ac8
|
@ -1,3 +1,7 @@
|
||||||
disallowed-methods = [
|
disallowed-methods = [
|
||||||
{ path = "web_sys::window", reason = "is not available in every context" },
|
{ path = "web_sys::window", reason = "is not available in every context" },
|
||||||
|
{ path = "web_sys::HtmlCanvasElement::width", reason = "Winit shouldn't touch the internal canvas size" },
|
||||||
|
{ path = "web_sys::HtmlCanvasElement::height", reason = "Winit shouldn't touch the internal canvas size" },
|
||||||
|
{ path = "web_sys::HtmlCanvasElement::set_width", reason = "Winit shouldn't touch the internal canvas size" },
|
||||||
|
{ path = "web_sys::HtmlCanvasElement::set_height", reason = "Winit shouldn't touch the internal canvas size" },
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue