Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the transparency (alpha) of a Token without any other associated changes fails to visually apply until some other changes are made. #9510

Closed
aaclayton opened this issue May 29, 2023 · 0 comments
Assignees
Labels
api Issues related to the API used by Mod Devs bug Functionality which is not working as intended canvas Issues related to the PIXI canvas, rendering, and other WebGL functions. tokens Issues related to Tokens and their appearance

Comments

@aaclayton
Copy link
Contributor

Reported https://discord.com/channels/170995199584108546/1065764070680186930/1112419032595972156

ALL MODULES DISABLED? true
OS, Hosting, Browser (if applicable): Windows, NodeJS, Chrome
Short Description of bug: Updating the alpha of a token does not work - it does not visually update the alpha until the token's position is updated
Simple steps to reproduce the bug: Run the script below - even just the first line will reproduce the issue.

await token.document.update({ alpha: 0.0 });

await new Promise(resolve => setTimeout(resolve, 1000));

await token.document.update({ x: token.document.x + 100 });

await new Promise(resolve => setTimeout(resolve, 1000));

await token.document.update({ alpha: 1.0 });

Screenshots and/or console errors: n/a

@aaclayton aaclayton added bug Functionality which is not working as intended tokens Issues related to Tokens and their appearance api Issues related to the API used by Mod Devs canvas Issues related to the PIXI canvas, rendering, and other WebGL functions. labels May 29, 2023
@aaclayton aaclayton added this to the V11 - Stable Maintenance milestone May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues related to the API used by Mod Devs bug Functionality which is not working as intended canvas Issues related to the PIXI canvas, rendering, and other WebGL functions. tokens Issues related to Tokens and their appearance
Projects
Status: Done
Development

No branches or pull requests

3 participants