Skip to content

Commit

Permalink
npm fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpopelyshev committed Apr 25, 2023
1 parent 4188f0c commit 9d6e601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/webgl/Sprite2dRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class Batch2dRenderer extends BatchRenderer

const argb = Color.shared
.setValue(element._tintRGB)
.toPremultiplied(alpha);
.toPremultiplied(alpha, element._texture.baseTexture.alphaMode > 0);

if (vertexData2d)
{
Expand Down

0 comments on commit 9d6e601

Please sign in to comment.