Skip to main content
shun1
New Participant
Apr 26, 2024 4:40 AM UTC
Question

Can not get color of gradient linear by plugin api

The gradientStops is empty array
image

This topic has been closed for replies.

6 replies

Apr 26, 2024 7:06 AM UTC

Having the same issue,
based on your latest release note:
" Paint.ColorStop now has a new field boundVariables that contains a color field and denotes whether a variable is bound to a gradient color stop."

as I understand, the new field should be a new property in ColorStop.
but it’s just returning an empty array.

piusyikyu
New Participant
Apr 26, 2024 11:09 AM UTC

Same issue here, I think it is their data model not being correctly migrated for already existing gradient objects.

If you edit the colour stops, the plugin api will send the data through again.

Apr 26, 2024 12:48 PM UTC

same problem

shun1
shun1Author
New Participant
Apr 29, 2024 6:24 AM UTC

Is there no official response to this bug?

shun1
shun1Author
New Participant
Apr 30, 2024 2:55 AM UTC

This bug was fixed!

James_Yang
Figmate
Figmate
Apr 30, 2024 10:40 AM UTC

That’s correct. Thank you all for your patience. We rolled out a bug fix for this yesterday.