[automated] Apply ESLint and Prettier fixes

This commit is contained in:
GitHub Action
2025-10-23 00:46:19 +00:00
committed by Simula_r
parent 8ec5656f87
commit 68c0160c04

View File

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