[engine] 修复 bitmap cachemode label hash 计算未考虑 color 的问题

This commit is contained in:
SmallMain 2022-07-06 16:00:10 +08:00
parent be22ac9de1
commit 43b5e0c3a0

View File

@ -387,6 +387,7 @@ export default class TTFAssembler extends Assembler2D {
frame._texture._uuid = _fontDesc
+ _overflow
+ (_premultiply ? 'P' : 'NP')
+ comp.node.color.toHEX()
+ (_enableUnderline ? 'UL' : 'NUL')
+ _string;