mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-15 22:51:03 +00:00
bgufix
This commit is contained in:
parent
8e67104ec6
commit
d055defe3d
@ -73,6 +73,18 @@ export function getEnumListConfig() {
|
||||
return cc.Label.Overflow.__enums__;
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "verticalAlign",
|
||||
values() {
|
||||
return cc.Label.VerticalAlign.__enums__;
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "horizontalAlign",
|
||||
values() {
|
||||
return cc.Label.HorizontalAlign.__enums__;
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -212,7 +224,7 @@ export function getEnumListConfig() {
|
||||
],
|
||||
},
|
||||
{
|
||||
type: cc.VidePlayer,
|
||||
type: cc.VideoPlayer,
|
||||
list: [
|
||||
{
|
||||
key: "resourceType",
|
||||
|
@ -256,7 +256,7 @@ export class Inspector extends InjectEvent {
|
||||
if (node instanceof cc.Scene) {
|
||||
// 场景不允许获取active,引擎会报错
|
||||
} else {
|
||||
data.active = !!node.active;
|
||||
data.active = !!node.active && !!node.activeInHierarchy;
|
||||
}
|
||||
this.inspectorGameMemoryStorage[node.uuid] = node;
|
||||
let nodeChildren = node.children;
|
||||
|
Loading…
x
Reference in New Issue
Block a user