mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 03:38:29 +00:00
更新编译文件
This commit is contained in:
parent
43b5e0c3a0
commit
17658a10d9
@ -51582,7 +51582,7 @@
|
|||||||
_proto.packDynamicAtlasAndCheckMaterial = function packDynamicAtlasAndCheckMaterial(comp, frame) {
|
_proto.packDynamicAtlasAndCheckMaterial = function packDynamicAtlasAndCheckMaterial(comp, frame) {
|
||||||
var allowDynamicAtlas = comp.allowDynamicAtlas;
|
var allowDynamicAtlas = comp.allowDynamicAtlas;
|
||||||
if (cc.sp.allowDynamicAtlas && 0 === allowDynamicAtlas || 1 === allowDynamicAtlas) {
|
if (cc.sp.allowDynamicAtlas && 0 === allowDynamicAtlas || 1 === allowDynamicAtlas) {
|
||||||
frame._texture._uuid = _fontDesc + _overflow + (_premultiply ? "P" : "NP") + (_enableUnderline ? "UL" : "NUL") + _string;
|
frame._texture._uuid = _fontDesc + _overflow + (_premultiply ? "P" : "NP") + comp.node.color.toHEX() + (_enableUnderline ? "UL" : "NUL") + _string;
|
||||||
_outlineComp && (frame._texture._uuid += _outlineComp.color.toHEX() + "," + _outlineComp.width + ",");
|
_outlineComp && (frame._texture._uuid += _outlineComp.color.toHEX() + "," + _outlineComp.width + ",");
|
||||||
_shadowComp && (frame._texture._uuid += _shadowComp.color.toHEX() + _shadowComp.offset.x + "," + _shadowComp.offset.y + "," + _shadowComp.blur);
|
_shadowComp && (frame._texture._uuid += _shadowComp.color.toHEX() + _shadowComp.offset.x + "," + _shadowComp.offset.y + "," + _shadowComp.blur);
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -51454,7 +51454,7 @@
|
|||||||
_proto.packDynamicAtlasAndCheckMaterial = function packDynamicAtlasAndCheckMaterial(comp, frame) {
|
_proto.packDynamicAtlasAndCheckMaterial = function packDynamicAtlasAndCheckMaterial(comp, frame) {
|
||||||
var allowDynamicAtlas = comp.allowDynamicAtlas;
|
var allowDynamicAtlas = comp.allowDynamicAtlas;
|
||||||
if (cc.sp.allowDynamicAtlas && 0 === allowDynamicAtlas || 1 === allowDynamicAtlas) {
|
if (cc.sp.allowDynamicAtlas && 0 === allowDynamicAtlas || 1 === allowDynamicAtlas) {
|
||||||
frame._texture._uuid = _fontDesc + _overflow + (_premultiply ? "P" : "NP") + (_enableUnderline ? "UL" : "NUL") + _string;
|
frame._texture._uuid = _fontDesc + _overflow + (_premultiply ? "P" : "NP") + comp.node.color.toHEX() + (_enableUnderline ? "UL" : "NUL") + _string;
|
||||||
_outlineComp && (frame._texture._uuid += _outlineComp.color.toHEX() + "," + _outlineComp.width + ",");
|
_outlineComp && (frame._texture._uuid += _outlineComp.color.toHEX() + "," + _outlineComp.width + ",");
|
||||||
_shadowComp && (frame._texture._uuid += _shadowComp.color.toHEX() + _shadowComp.offset.x + "," + _shadowComp.offset.y + "," + _shadowComp.blur);
|
_shadowComp && (frame._texture._uuid += _shadowComp.color.toHEX() + _shadowComp.offset.x + "," + _shadowComp.offset.y + "," + _shadowComp.blur);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user