Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ignore-workspace-root-check=true
catalog-mode=prefer
public-hoist-pattern[]=@parcel/watcher
25 changes: 12 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/components/common/LazyImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/>
<img
v-if="cachedSrc"
ref="imageRef"
:src="cachedSrc"
:alt="alt"
draggable="false"
Expand Down Expand Up @@ -61,7 +60,6 @@ const {
}>()

const containerRef = ref<HTMLElement | null>(null)
const imageRef = ref<HTMLImageElement | null>(null)
const isIntersecting = ref(false)
const isImageLoaded = ref(false)
const hasError = ref(false)
Expand Down
2 changes: 0 additions & 2 deletions src/components/graph/modals/ZoomControlsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
class="zoomInputContainer flex items-center gap-1 rounded bg-input-surface p-2"
>
<InputNumber
ref="zoomInput"
:default-value="canvasStore.appScalePercentage"
:min="1"
:max="1000"
Expand Down Expand Up @@ -130,7 +129,6 @@ const zoomOutCommandText = computed(() =>
const zoomToFitCommandText = computed(() =>
formatKeySequence(commandStore.getCommand('Comfy.Canvas.FitView'))
)
const zoomInput = ref<InstanceType<typeof InputNumber> | null>(null)
const zoomInputContainer = ref<HTMLDivElement | null>(null)

watch(
Expand Down
3 changes: 0 additions & 3 deletions src/components/load3d/Load3D.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
>
<Load3DScene
v-if="node"
ref="load3DSceneRef"
:initialize-load3d="initializeLoad3d"
:cleanup="cleanup"
:loading="loading"
Expand Down Expand Up @@ -100,8 +99,6 @@ if (isComponentWidget(props.widget)) {
})
}

const load3DSceneRef = ref<InstanceType<typeof Load3DScene> | null>(null)

const {
// configs
sceneConfig,
Expand Down
7 changes: 1 addition & 6 deletions src/components/load3d/Load3DScene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
@dragleave.stop="handleDragLeave"
@drop.prevent.stop="handleDrop"
>
<LoadingOverlay
ref="loadingOverlayRef"
:loading="loading"
:loading-message="loadingMessage"
/>
<LoadingOverlay :loading="loading" :loading-message="loadingMessage" />
<div
v-if="!isPreview && isDragging"
class="pointer-events-none absolute inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm"
Expand Down Expand Up @@ -48,7 +44,6 @@ const props = defineProps<{
}>()

const container = ref<HTMLElement | null>(null)
const loadingOverlayRef = ref<InstanceType<typeof LoadingOverlay> | null>(null)

const { isDragging, dragMessage, handleDragOver, handleDragLeave, handleDrop } =
useLoad3dDrag({
Expand Down
3 changes: 1 addition & 2 deletions src/components/load3d/Load3dViewerContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@mouseenter="viewer.handleMouseEnter"
@mouseleave="viewer.handleMouseLeave"
>
<div ref="mainContentRef" class="relative flex-1">
<div class="relative flex-1">
<div
ref="containerRef"
class="absolute h-full w-full"
Expand Down Expand Up @@ -105,7 +105,6 @@ const props = defineProps<{

const viewerContentRef = ref<HTMLDivElement>()
const containerRef = ref<HTMLDivElement>()
const mainContentRef = ref<HTMLDivElement>()
const maximized = ref(false)
const mutationObserver = ref<MutationObserver | null>(null)

Expand Down
2 changes: 0 additions & 2 deletions src/components/sidebar/ComfyMenuButton.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<div
ref="menuButtonRef"
v-tooltip="{
value: t('sideToolbar.labels.menu'),
showDelay: 300,
Expand Down Expand Up @@ -137,7 +136,6 @@ const settingStore = useSettingStore()
const menuRef = ref<
({ dirty: boolean } & TieredMenuMethods & TieredMenuState) | null
>(null)
const menuButtonRef = ref<HTMLElement | null>(null)

const nodes2Enabled = computed({
get: () => settingStore.get('Comfy.VueNodes.Enabled') ?? false,
Expand Down
2 changes: 0 additions & 2 deletions src/components/sidebar/SideToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
}"
>
<div
ref="contentMeasureRef"
:class="
isOverflowing
? 'side-tool-bar-container overflow-y-auto'
Expand Down Expand Up @@ -80,7 +79,6 @@ const userStore = useUserStore()
const commandStore = useCommandStore()
const canvasStore = useCanvasStore()
const sideToolbarRef = ref<HTMLElement>()
const contentMeasureRef = ref<HTMLElement>()
const topToolbarRef = ref<HTMLElement>()
const bottomToolbarRef = ref<HTMLElement>()

Expand Down
10 changes: 1 addition & 9 deletions src/renderer/extensions/minimap/MiniMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
/>

<div
ref="containerRef"
class="litegraph-minimap relative border border-interface-stroke bg-comfy-menu-bg shadow-interface"
:style="containerStyles"
>
Expand Down Expand Up @@ -51,12 +50,7 @@
}"
/>

<canvas
ref="canvasRef"
:width="width"
:height="height"
class="minimap-canvas"
/>
<canvas :width="width" :height="height" class="minimap-canvas" />

<div class="minimap-viewport" :style="viewportStyles" />

Expand Down Expand Up @@ -89,8 +83,6 @@ const minimapRef = ref<HTMLDivElement>()
const {
initialized,
visible,
containerRef,
canvasRef,
containerStyles,
viewportStyles,
width,
Expand Down
Loading