Skip to content

Commit

Permalink
TooltipProviderを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
takusea committed Aug 3, 2024
1 parent ce1aa1a commit 9d11c56
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions src/components/App.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
<template>
<ErrorBoundary>
<MenuBar
v-if="openedEditor != undefined"
:fileSubMenuData="subMenuData.fileSubMenuData.value"
:editSubMenuData="subMenuData.editSubMenuData.value"
:editor="openedEditor"
/>
<KeepAlive>
<Component
:is="openedEditor == 'talk' ? TalkEditor : SingEditor"
<TooltipProvider>
<MenuBar
v-if="openedEditor != undefined"
:key="openedEditor"
:isEnginesReady
:isProjectFileLoaded
:fileSubMenuData="subMenuData.fileSubMenuData.value"
:editSubMenuData="subMenuData.editSubMenuData.value"
:editor="openedEditor"
/>
</KeepAlive>
<AllDialog :isEnginesReady />
<KeepAlive>
<Component
:is="openedEditor == 'talk' ? TalkEditor : SingEditor"
v-if="openedEditor != undefined"
:key="openedEditor"
:isEnginesReady
:isProjectFileLoaded
/>
</KeepAlive>
<AllDialog :isEnginesReady />
</TooltipProvider>
</ErrorBoundary>
</template>

<script setup lang="ts">
import { watch, onMounted, ref, computed, toRaw } from "vue";
import { useGtm } from "@gtm-support/vue-gtm";
import { TooltipProvider } from "radix-vue";
import TalkEditor from "@/components/Talk/TalkEditor.vue";
import SingEditor from "@/components/Sing/SingEditor.vue";
import { EngineId } from "@/type/preload";
Expand Down

0 comments on commit 9d11c56

Please sign in to comment.