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:
@@ -70,7 +70,7 @@ function updateContentBounds() {
|
||||
if (sampleNodeId !== null && nodes.size > 0 && !nodes.has(sampleNodeId)) {
|
||||
contentBounds.reset()
|
||||
}
|
||||
sampleNodeId = nodes.size > 0 ? nodes.keys().next().value ?? null : null
|
||||
sampleNodeId = nodes.size > 0 ? (nodes.keys().next().value ?? null) : null
|
||||
|
||||
for (const [, layout] of nodes) {
|
||||
contentBounds.expandToInclude(layout.bounds)
|
||||
|
||||
Reference in New Issue
Block a user