mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
[backport core/1.41] fix: prevent live preview dimension flicker between frames (#9955)
Backport of #9937 to `core/1.41` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9955-backport-core-1-41-fix-prevent-live-preview-dimension-flicker-between-frames-3246d73d36508160bf30c95a019c82dc) by [Unito](https://www.unito.io) Co-authored-by: Christian Byrne <cbyrne@comfy.org>
This commit is contained in:
@@ -40,8 +40,8 @@ const imageError = ref(false)
|
||||
watch(
|
||||
() => props.imageUrl,
|
||||
() => {
|
||||
// Reset states when URL changes
|
||||
actualDimensions.value = null
|
||||
// Reset error state when URL changes, but keep previous dimensions
|
||||
// to avoid flickering "Calculating dimensions" text during live preview
|
||||
imageError.value = false
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user