Hi,
I have seen something that seems to be a bug in the plugin api,
(or if it’s not, i’d like to know what i’m doing wrong)
with a rectangle node container having a gradient fill, such as this
when accessing the getter fills in my code, i get an error message :
Uncaught Error Error: in get_fills: Cannot read properties of undefined (reading 'colorVar') at get_fills (<eval>/VM46947625:23:21)
and the call stack points to where i’m calling figmaNode.fills
I have searched my code for the pattern colorVar to check if I was doing anything funny with that, but it is nowhere there, it seems that the get_fills is the internal getter that gets called when calling .fills