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 070ec8abd4
commit 9035660975
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