fix(ui): fix missing bbox when a layer is empty

This commit is contained in:
psychedelicious 2024-04-20 15:55:28 +10:00 committed by Kent Keirsey
parent 7edcadb371
commit 3f4ea30113

View File

@ -349,7 +349,7 @@ export const renderBbox = (
}
if (!bbox) {
return;
continue;
}
let rect = konvaLayer.findOne<Konva.Rect>(`.${REGIONAL_PROMPT_LAYER_BBOX_NAME}`);