Files
olivv-cs-ComfyUI-FunPack/app/ui/composer/internals/swapping.js
T
digital-garbageandClaude Opus 5.5 57c74268cd fix: ratings set the odds (each like up, each dislike down, a run of dislikes much more); a redraw never commits mid-swap
A rating keeps the prompt that made the render and when; matcher replays the expander exactly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:13:50 +03:00

5 lines
376 B
JavaScript

// Set while region.stack swaps its content. Chromium fires change/blur on the focused field as it is removed (still
// attached): a commit then would redraw the owner inside the swap, under the stale content the swap goes on to insert.
// A field skips committing meanwhile; region.stack carries its edit into the redrawn field instead.
export const swapping = { depth: 0 };