fix title offset on y

This commit is contained in:
bymyself
2025-09-09 20:00:49 -07:00
parent ed94827978
commit ffede776cb

View File

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