修改icon的边框

This commit is contained in:
cebgcontract 2022-06-21 16:03:04 +08:00
parent 670f9d95c5
commit d6ea4330a1
5 changed files with 144 additions and 9 deletions

View File

@ -21,17 +21,20 @@
}, },
{ {
"__id__": 5 "__id__": 5
},
{
"__id__": 8
} }
], ],
"_active": true, "_active": true,
"_level": 1, "_level": 1,
"_components": [ "_components": [
{ {
"__id__": 8 "__id__": 11
} }
], ],
"_prefab": { "_prefab": {
"__id__": 9 "__id__": 12
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -176,6 +179,107 @@
"fileId": "d60oW7FvtHeYQMK3B9YDtO", "fileId": "d60oW7FvtHeYQMK3B9YDtO",
"sync": false "sync": false
}, },
{
"__type__": "cc.Node",
"_name": "rect-line-n",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_level": 2,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 102,
"height": 102
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_position": {
"__type__": "cc.Vec3",
"x": 0,
"y": 10,
"z": 0
},
"_scale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_rotationX": 0,
"_rotationY": 0,
"_quat": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_skewX": 0,
"_skewY": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5a8ebed1-3233-42a9-99bf-71f93a2ac0b7"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_state": 0,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "259e752f-837f-4d16-b21f-3c886e3a7a7e"
},
"fileId": "099rOMpPFO9ZZvg+o7F8eT",
"sync": false
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "idLabel", "_name": "idLabel",
@ -188,11 +292,11 @@
"_level": 5, "_level": 5,
"_components": [ "_components": [
{ {
"__id__": 6 "__id__": 9
} }
], ],
"_prefab": { "_prefab": {
"__id__": 7 "__id__": 10
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -243,7 +347,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 5 "__id__": 8
}, },
"_enabled": true, "_enabled": true,
"_useOriginalSize": false, "_useOriginalSize": false,
@ -283,7 +387,7 @@
}, },
"_enabled": true, "_enabled": true,
"nftIDlabel": { "nftIDlabel": {
"__id__": 6 "__id__": 9
}, },
"icon": { "icon": {
"__id__": 3 "__id__": 3

View File

@ -410,9 +410,9 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f8a72ecb-343d-4c53-9429-112006b05c75" "__uuid__": "5a8ebed1-3233-42a9-99bf-71f93a2ac0b7"
}, },
"_type": 0, "_type": 1,
"_sizeMode": 0, "_sizeMode": 0,
"_fillType": 0, "_fillType": 0,
"_fillCenter": { "_fillCenter": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

View File

@ -0,0 +1,31 @@
{
"ver": "2.2.0",
"uuid": "ee006024-6aa9-41d4-8053-c7efc0f33ac7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"subMetas": {
"rect-line-n": {
"ver": "1.0.4",
"uuid": "5a8ebed1-3233-42a9-99bf-71f93a2ac0b7",
"rawTextureUuid": "ee006024-6aa9-41d4-8053-c7efc0f33ac7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 28,
"height": 24,
"rawWidth": 28,
"rawHeight": 24,
"borderTop": 5,
"borderBottom": 4,
"borderLeft": 5,
"borderRight": 5,
"subMetas": {}
}
}
}

View File

@ -6672,7 +6672,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f8a72ecb-343d-4c53-9429-112006b05c75" "__uuid__": "5a8ebed1-3233-42a9-99bf-71f93a2ac0b7"
}, },
"_type": 1, "_type": 1,
"_sizeMode": 0, "_sizeMode": 0,