PR feedback
This commit is contained in:
parent
f4fc8e5e97
commit
aa7fe8f1b5
|
@ -125,7 +125,7 @@
|
|||
// Catch any app errors
|
||||
loading = false
|
||||
error = event.error || "An unknown error occurred"
|
||||
} else if (type === "select-component" && "id" in data) {
|
||||
} else if (type === "select-component" && data.id) {
|
||||
componentStore.select(data.id)
|
||||
componentTreeNodesStore.makeNodeVisible(data.id)
|
||||
} else if (type === "hover-component") {
|
||||
|
|
|
@ -5,14 +5,10 @@
|
|||
$: color = $builderStore.editMode
|
||||
? "var(--spectrum-global-color-static-green-500)"
|
||||
: "var(--spectrum-global-color-static-blue-600)"
|
||||
|
||||
$: isScreen = $builderStore.selectedComponentId?.startsWith(
|
||||
$builderStore.screen._id
|
||||
)
|
||||
</script>
|
||||
|
||||
<IndicatorSet
|
||||
componentId={!isScreen ? $builderStore.selectedComponentId : null}
|
||||
componentId={$builderStore.selectedComponentId}
|
||||
{color}
|
||||
zIndex={900}
|
||||
allowResizeAnchors
|
||||
|
|
Loading…
Reference in New Issue