mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 13:31:29 +11:00
10 lines
747 B
TOML
10 lines
747 B
TOML
disallowed-methods = [
|
|
{ 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" },
|
|
{ path = "web_sys::Window::document", reason = "cache this to reduce calls to JS" },
|
|
{ path = "web_sys::Window::get_computed_style", reason = "cache this to reduce calls to JS" },
|
|
]
|