mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
[automated] Apply ESLint and Oxfmt fixes
This commit is contained in:
@@ -56,7 +56,8 @@ export function useNodePreviewAndDrag(
|
||||
|
||||
const target = e.currentTarget as HTMLElement
|
||||
const rect = target.getBoundingClientRect()
|
||||
const horizontalRect = options?.panelRef?.value?.getBoundingClientRect() ?? rect
|
||||
const horizontalRect =
|
||||
options?.panelRef?.value?.getBoundingClientRect() ?? rect
|
||||
const { left, viewportHeight } = calculatePreviewPosition(horizontalRect)
|
||||
|
||||
let top = rect.top
|
||||
|
||||
Reference in New Issue
Block a user