You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we call Composition.attachPlayer its creating new canvas 2D element and its not binding some pixi events such as onmouseleave
Maybe its better instead of creating new Canvas element, returning renderer.view.canvas then we can bind reactivities.
public attachPlayer(element: HTMLElement) { element.appendChild(this.renderer.view.canvas); }
The text was updated successfully, but these errors were encountered:
The reason why we don't use the Pixi canvas is so that we can change the resolution during rendering. Otherwise the canvas would be rescaled. But I agree that we should propagate the events
When we call Composition.attachPlayer its creating new canvas 2D element and its not binding some pixi events such as onmouseleave
Maybe its better instead of creating new Canvas element, returning renderer.view.canvas then we can bind reactivities.
public attachPlayer(element: HTMLElement) { element.appendChild(this.renderer.view.canvas); }
The text was updated successfully, but these errors were encountered: