mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 00:20:07 +00:00
fix title offset on y
This commit is contained in:
@@ -82,9 +82,9 @@ const resizeObserver = new ResizeObserver((entries) => {
|
||||
|
||||
const bounds: Bounds = {
|
||||
x: rect.left,
|
||||
y: rect.top,
|
||||
y: rect.top - LiteGraph.NODE_TITLE_HEIGHT,
|
||||
width,
|
||||
height: height - LiteGraph.NODE_TITLE_HEIGHT
|
||||
height: height
|
||||
}
|
||||
|
||||
if (!updatesByType.has(elementType)) {
|
||||
|
||||
Reference in New Issue
Block a user