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
{{ message }}
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
When setting a clipPath on an actor and the enableResizeEvents is set to true, actors with a clipPath get scaled twice. This is because the applyAsPath method from the clipPath transforms the renderingContext when the Actor's paintActor method already did that.
Probably this can be easily fixed by adding
if (this.parent) {
director.modelViewMatrix.transformRenderingContext( ctx );
}
If the path does not have a parent, don't transform the rendering context (would send in a pull request, but I already have one pending :( )
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When setting a clipPath on an actor and the enableResizeEvents is set to true, actors with a clipPath get scaled twice. This is because the applyAsPath method from the clipPath transforms the renderingContext when the Actor's paintActor method already did that.
Probably this can be easily fixed by adding
if (this.parent) {
director.modelViewMatrix.transformRenderingContext( ctx );
}
If the path does not have a parent, don't transform the rendering context (would send in a pull request, but I already have one pending :( )
The text was updated successfully, but these errors were encountered: