mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
[backport core/1.40] fix: stop pointer events on audio widgets to prevent node drag (#9591)
Backport of #9329 to `core/1.40` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9591-backport-core-1-40-fix-stop-pointer-events-on-audio-widgets-to-prevent-node-drag-31d6d73d36508144b21adc799fb6df70) by [Unito](https://www.unito.io) Co-authored-by: Terry Jia <terryjia88@gmail.com> Co-authored-by: Alexander Brown <drjkl@comfy.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="relative">
|
||||
<div class="relative" @pointerdown.stop>
|
||||
<div class="mb-4">
|
||||
<Button
|
||||
class="text-base-foreground w-full border-0 bg-secondary-background hover:bg-secondary-background-hover"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="relative">
|
||||
<div class="relative" @pointerdown.stop>
|
||||
<div
|
||||
v-if="!hideWhenEmpty || modelValue"
|
||||
class="bg-component-node-widget-background box-border flex gap-4 items-center justify-start relative rounded-lg w-full h-16 px-4 py-0"
|
||||
|
||||
Reference in New Issue
Block a user