mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 01:50:08 +00:00
remove irrelevant code
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
@pointerdown="handlePointerDown"
|
||||
@pointermove="handlePointerMove"
|
||||
@pointerup="handlePointerUp"
|
||||
@wheel="handleNodeWheel"
|
||||
@wheel="handleWheel"
|
||||
>
|
||||
<div class="flex items-center">
|
||||
<template v-if="isCollapsed">
|
||||
@@ -341,18 +341,6 @@ const handleHeaderTitleUpdate = (newTitle: string) => {
|
||||
handleNodeTitleUpdate(nodeData.id, newTitle)
|
||||
}
|
||||
|
||||
const handleNodeWheel = (event: WheelEvent) => {
|
||||
const target = event.target as HTMLElement
|
||||
const isInLoad3D = target?.closest('.comfy-load-3d')
|
||||
|
||||
// Don't handle wheel events from Load3D components
|
||||
if (isInLoad3D) {
|
||||
return
|
||||
}
|
||||
|
||||
handleWheel(event)
|
||||
}
|
||||
|
||||
const handleEnterSubgraph = () => {
|
||||
const graph = app.graph?.rootGraph || app.graph
|
||||
if (!graph) {
|
||||
|
||||
Reference in New Issue
Block a user