chore(Storybok): Inspection tool - handle SpritSequence type properly

This commit is contained in:
Michał Cieślak 2023-06-20 10:14:48 +02:00 committed by Michał
parent 55ea4d0044
commit 5315f94e40
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ QtObject {
|| item instanceof Image
|| item instanceof TextEdit
|| item instanceof TextInput
|| item instanceof SpriteSequence
}
function baseName(item) {
@ -38,6 +39,8 @@ QtObject {
return "TextEdit"
if (item instanceof TextInput)
return "TextInput"
if (item instanceof SpriteSequence)
return "SpriteSequence"
const name = baseName(item)