mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix missing bbox when a layer is empty
This commit is contained in:
parent
7edcadb371
commit
3f4ea30113
@ -349,7 +349,7 @@ export const renderBbox = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!bbox) {
|
if (!bbox) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let rect = konvaLayer.findOne<Konva.Rect>(`.${REGIONAL_PROMPT_LAYER_BBOX_NAME}`);
|
let rect = konvaLayer.findOne<Konva.Rect>(`.${REGIONAL_PROMPT_LAYER_BBOX_NAME}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user