Implement WindowID on the web platform (#1177)
* Use actual numeric IDs to differentiate Windows This is generally important to identifying which window should recieve which event, but is also specifically crucial for fixing RedrawRequested on web. * Cargo fmt
This commit is contained in:
parent
e87bc3db20
commit
2c47c43f47
4 changed files with 38 additions and 19 deletions
|
|
@ -13,7 +13,7 @@ use stdweb::web::event::{
|
|||
};
|
||||
use stdweb::web::html_element::CanvasElement;
|
||||
use stdweb::web::{
|
||||
document, window, EventListenerHandle, IChildNode, IElement, IEventTarget, IHtmlElement, INode,
|
||||
document, window, EventListenerHandle, IChildNode, IElement, IEventTarget, IHtmlElement,
|
||||
};
|
||||
|
||||
pub struct Canvas {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue