|
@@ -16,7 +16,7 @@
|
|
|
type="preview"
|
|
|
class="icon"
|
|
|
ctrl
|
|
|
- @click="playScenePath(path, true)"
|
|
|
+ @click.stop="playHandler()"
|
|
|
v-if="path.points.length"
|
|
|
/>
|
|
|
</div>
|
|
@@ -57,7 +57,10 @@ const actions = {
|
|
|
edit: () => emit("edit"),
|
|
|
delete: () => emit("delete"),
|
|
|
};
|
|
|
-
|
|
|
+const playHandler = () => {
|
|
|
+ node.value?.focus(true);
|
|
|
+ playScenePath(props.path, true);
|
|
|
+};
|
|
|
const focus = ref(false);
|
|
|
const hover = ref(false);
|
|
|
const node = computed(() => getPathNode(props.path.id));
|