Skip to content

Commit

Permalink
Merge pull request layabox#894 from xiaoguzhu/Master3.0
Browse files Browse the repository at this point in the history
fix: reset color property of DrawTextureCmd layabox#192
  • Loading branch information
xiaoguzhu authored Jan 10, 2023
2 parents f4ca037 + b64057d commit a9638f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layaAir/laya/display/cmd/DrawTextureCmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export class DrawTextureCmd {
cmd.colorFlt = new ColorFilter();
cmd.colorFlt.setColor(color);
}

else
cmd.colorFlt = null;
return cmd;
}

Expand Down

0 comments on commit a9638f1

Please sign in to comment.