chore(Storybok): Inspection tool - handle SpritSequence type properly
This commit is contained in:
parent
55ea4d0044
commit
5315f94e40
|
@ -10,6 +10,7 @@ QtObject {
|
||||||
|| item instanceof Image
|
|| item instanceof Image
|
||||||
|| item instanceof TextEdit
|
|| item instanceof TextEdit
|
||||||
|| item instanceof TextInput
|
|| item instanceof TextInput
|
||||||
|
|| item instanceof SpriteSequence
|
||||||
}
|
}
|
||||||
|
|
||||||
function baseName(item) {
|
function baseName(item) {
|
||||||
|
@ -38,6 +39,8 @@ QtObject {
|
||||||
return "TextEdit"
|
return "TextEdit"
|
||||||
if (item instanceof TextInput)
|
if (item instanceof TextInput)
|
||||||
return "TextInput"
|
return "TextInput"
|
||||||
|
if (item instanceof SpriteSequence)
|
||||||
|
return "SpriteSequence"
|
||||||
|
|
||||||
const name = baseName(item)
|
const name = baseName(item)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue