iconMsg修改
This commit is contained in:
parent
c91899fe28
commit
f7f9b94f53
@ -274,7 +274,7 @@
|
|||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 174,
|
"width": 174,
|
||||||
"height": 174
|
"height": 522
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -310,7 +310,7 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "43af496d-3fdf-47af-825c-1adeeeed4744@f9941",
|
"__uuid__": "30bbae8d-9396-4496-bf48-d9815ed744a9@f9941",
|
||||||
"__expectedType__": "cc.SpriteFrame"
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 1,
|
"_type": 1,
|
||||||
|
|||||||
@ -145,7 +145,7 @@ export class IconMsg extends Component {
|
|||||||
// if (this.iconComponent.index != 2) {
|
// if (this.iconComponent.index != 2) {
|
||||||
// iconNode.getComponent(Icon).hideNormalSprite();
|
// iconNode.getComponent(Icon).hideNormalSprite();
|
||||||
// }
|
// }
|
||||||
if (this.iconComponent.index != 2) {
|
if (this.iconComponent.index > 2) {
|
||||||
iconNode.getComponent(Icon).hideNormalSpine()
|
iconNode.getComponent(Icon).hideNormalSpine()
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -168,7 +168,7 @@ export class IconMsg extends Component {
|
|||||||
// if (this.iconComponent.index != 2) {
|
// if (this.iconComponent.index != 2) {
|
||||||
// iconNode.getComponent(Icon).hideNormalSprite();
|
// iconNode.getComponent(Icon).hideNormalSprite();
|
||||||
// }
|
// }
|
||||||
if (this.iconComponent.index != 2) {
|
if (this.iconComponent.index > 2) {
|
||||||
iconNode.getComponent(Icon).hideNormalSpine()
|
iconNode.getComponent(Icon).hideNormalSpine()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,7 +27,7 @@ export function getHistoryUrl() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getLanguage() {
|
export function getLanguage() {
|
||||||
// return 'pt';
|
// return 'zh';
|
||||||
return language;
|
return language;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user