Skip to content

Commit

Permalink
listItem layer change (cocos#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinYunMo authored Jan 11, 2021
1 parent dd9ba43 commit 9d4f153
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 36 deletions.
118 changes: 83 additions & 35 deletions assets/cases/TestList/ListItem.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@
"_active": true,
"_components": [
{
"__id__": 7
"__id__": 10
},
{
"__id__": 8
"__id__": 12
},
{
"__id__": 9
"__id__": 14
},
{
"__id__": 10
"__id__": 16
}
],
"_prefab": {
"__id__": 12
"__id__": 19
},
"_lpos": {
"__type__": "cc.Vec3",
Expand All @@ -57,7 +57,7 @@
"y": 1,
"z": 1
},
"_layer": 1048576,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
Expand All @@ -80,14 +80,14 @@
"__id__": 3
},
{
"__id__": 4
"__id__": 5
},
{
"__id__": 5
"__id__": 7
}
],
"_prefab": {
"__id__": 6
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
Expand All @@ -108,7 +108,7 @@
"y": 1,
"z": 1
},
"_layer": 1048576,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
Expand All @@ -125,18 +125,25 @@
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_priority": 0,
"_contentSize": {
"__type__": "cc.Size",
"width": 266.95,
"height": 50
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": "",
"_priority": 0
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "90Z5Pyi7JJHaqyG7HvoC/A"
},
{
"__type__": "cc.Label",
Expand All @@ -146,6 +153,11 @@
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
Expand All @@ -155,8 +167,6 @@
"b": 0,
"a": 255
},
"_sharedMaterial": null,
"_useOriginalSize": true,
"_string": "123123132131",
"_horizontalAlign": 0,
"_verticalAlign": 1,
Expand All @@ -171,9 +181,14 @@
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2ejfymvyZJFJaSB54OnP+S"
},
{
"__type__": "cc.Widget",
"_name": "",
Expand All @@ -182,14 +197,17 @@
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 13,
"_target": {
"__id__": 1
},
"_left": 20,
"_right": 246.52,
"_top": 25,
"_bottom": 25,
"_top": 18.5,
"_bottom": 18.5,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
Expand All @@ -201,8 +219,13 @@
"_originalWidth": 133.48,
"_originalHeight": 30,
"_alignMode": 1,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1aWAHuGPhMNYZJ8H0mLkU/"
},
{
"__type__": "cc.PrefabInfo",
"root": {
Expand All @@ -211,12 +234,7 @@
"asset": {
"__uuid__": "1963b45b-619d-4a78-8ea2-1df525345e1d"
},
"fileId": "1bIDjSJBxE+KWnjPFqe0n8",
"sync": false,
"_synced": {
"default": false,
"serializable": false
}
"fileId": "1bIDjSJBxE+KWnjPFqe0n8"
},
{
"__type__": "4fa73P9DaREY7uj4BrhuimX",
Expand All @@ -226,8 +244,15 @@
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "12ieu4HSNJfZxop4ZJtmJ1"
},
{
"__type__": "cc.UITransform",
"_name": "",
Expand All @@ -236,6 +261,10 @@
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 13
},
"_priority": 0,
"_contentSize": {
"__type__": "cc.Size",
"width": 500,
Expand All @@ -246,8 +275,11 @@
"x": 0.5,
"y": 1
},
"_id": "",
"_priority": 0
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "08HAbdKyFAS6cVJNYbDyYk"
},
{
"__type__": "cc.Sprite",
Expand All @@ -257,6 +289,11 @@
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
Expand All @@ -266,7 +303,6 @@
"b": 214,
"a": 255
},
"_sharedMaterial": null,
"_spriteFrame": {
"__uuid__": "2807ff43-605e-4265-b8c9-b75609177e70@f9941"
},
Expand All @@ -281,9 +317,14 @@
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ebVnFiGDRKA4uCbFhAAQCy"
},
{
"__type__": "cc.Button",
"_name": "",
Expand All @@ -292,9 +333,12 @@
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"clickEvents": [
{
"__id__": 11
"__id__": 18
}
],
"_interactable": true,
Expand All @@ -313,11 +357,11 @@
"b": 180,
"a": 255
},
"_pressColor": {
"_pressedColor": {
"__type__": "cc.Color",
"r": 191,
"g": 191,
"b": 191,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
Expand All @@ -327,7 +371,9 @@
"b": 214,
"a": 255
},
"_normalSprite": null,
"_normalSprite": {
"__uuid__": "2807ff43-605e-4265-b8c9-b75609177e70@f9941"
},
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
Expand All @@ -338,6 +384,10 @@
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1f7eOejhZPyoEiGFjNvsxO"
},
{
"__type__": "cc.ClickEvent",
"target": {
Expand All @@ -356,8 +406,6 @@
"asset": {
"__uuid__": "1963b45b-619d-4a78-8ea2-1df525345e1d"
},
"fileId": "6e4WJ7XGRCyo48mAHkz4+4",
"sync": false,
"_synced": true
"fileId": "6e4WJ7XGRCyo48mAHkz4+4"
}
]
2 changes: 1 addition & 1 deletion assets/cases/TestList/ListItem.prefab.meta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ver": "1.1.20",
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "1963b45b-619d-4a78-8ea2-1df525345e1d",
Expand Down

0 comments on commit 9d4f153

Please sign in to comment.