mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-12 18:25:00 -05:00
fix(ui): switch only on first progress image
This commit is contained in:
@@ -272,8 +272,9 @@ export const CanvasSessionContextProvider = memo(
|
||||
if (data.destination !== session.id) {
|
||||
return;
|
||||
}
|
||||
const isFirstProgressImage = !$progressData.get()[data.item_id]?.progressImage && !!data.image;
|
||||
setProgress($progressData, data);
|
||||
if ($autoSwitch.get() === 'first_progress') {
|
||||
if ($autoSwitch.get() === 'first_progress' && isFirstProgressImage) {
|
||||
$selectedItemId.set(data.item_id);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user