Use 'Screen' for the name when selecting the root screen component

This commit is contained in:
Andrew Kingston 2022-05-10 14:10:26 +01:00
parent 316d5d682f
commit f66f3b7935
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@
// Extract component instance info
$: children = instance._children || []
$: id = instance._id
$: name = instance._instanceName
$: name = isScreen ? "Screen" : instance._instanceName
// Determine if the component is selected or is part of the critical path
// leading to the selected component