Skip to content

Commit dbda8b4

Browse files
authored
Fix Load Audio nodes (#7175)
### Fix: Fail to load audio node ## Summary When using Modern Node Design (Nodes 2.0), the Load Audio node is able to work as expected. #7155 ## Changes Aligned `Load Audio` node appearance with the `Load Image` (/src/renderer/extensions/vueNodes/components/NodeWidgets.vue) node for consistency. ## Screenshots <img width="674" height="464" alt="zzzzw" src="https://github.com/user-attachments/assets/a7bf6a81-00e3-41a8-962b-560e7acb5c41" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7175-Fix-issue-No-7155-Nodes-2-0-Load-Audio-node-is-broken-2c06d73d365081ae9ab3c2ea20f061a4) by [Unito](https://www.unito.io)
1 parent 5719115 commit dbda8b4

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/renderer/extensions/vueNodes/widgets/components/WidgetAudioUI.vue

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<template>
2-
<div class="w-full">
3-
<WidgetSelect v-model="modelValue" :widget />
4-
<div class="my-4">
5-
<AudioPreviewPlayer
6-
:audio-url="audioUrlFromWidget"
7-
:readonly="readonly"
8-
:hide-when-empty="isOutputNodeRef"
9-
:show-options-button="true"
10-
/>
11-
</div>
2+
<div
3+
class="w-full col-span-2 widget-expands grid grid-cols-[minmax(80px,max-content)_minmax(125px,auto)] gap-y-3 p-3"
4+
>
5+
<WidgetSelect v-model="modelValue" :widget class="col-span-2" />
6+
<AudioPreviewPlayer
7+
class="col-span-2"
8+
:audio-url="audioUrlFromWidget"
9+
:readonly="readonly"
10+
:hide-when-empty="isOutputNodeRef"
11+
:show-options-button="true"
12+
/>
1213
</div>
1314
</template>
1415

0 commit comments

Comments
 (0)