remove irrelevant code

This commit is contained in:
Terry Jia
2025-09-22 15:27:38 -04:00
parent 13261b3621
commit c598d2653d

View File

@@ -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) {