mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-21 14:59:39 +00:00
[automated] Apply ESLint and Prettier fixes
This commit is contained in:
@@ -90,10 +90,10 @@ const resizeObserver = new ResizeObserver((entries) => {
|
||||
// This ensures consistency with manual resize operations
|
||||
const borderBox = Array.isArray(entry.borderBoxSize)
|
||||
? entry.borderBoxSize[0]
|
||||
: entry.contentBoxSize?.[0] ?? {
|
||||
: (entry.contentBoxSize?.[0] ?? {
|
||||
inlineSize: entry.contentRect.width,
|
||||
blockSize: entry.contentRect.height
|
||||
}
|
||||
})
|
||||
const width = borderBox.inlineSize
|
||||
const height = borderBox.blockSize
|
||||
|
||||
|
||||
Reference in New Issue
Block a user