open-design-sdk icon indicating copy to clipboard operation
open-design-sdk copied to clipboard

AI: Positions and sizes of textLayers and Bitmaps are 0

Open AgustinLaValla opened this issue 3 years ago • 0 comments

Hey guys, it seems that sometimes the bounds of the textLayers and Bitmaps are not detected, so their values remain at 0.

const bounds = await rootLayer.getBounds();
console.log({bounds});

image

AgustinLaValla avatar Oct 12 '22 11:10 AgustinLaValla