Skip to main content
Question

Can not get color of gradient linear by plugin api

  • April 26, 2024
  • 6 replies
  • 303 views

shun1

The gradientStops is empty array
image

This topic has been closed for replies.

6 replies

  • April 26, 2024

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
  • April 26, 2024

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.


  • April 26, 2024

same problem


shun1
  • Author
  • New Participant
  • April 29, 2024

Is there no official response to this bug?


shun1
  • Author
  • New Participant
  • April 30, 2024

This bug was fixed!


James_Yang
Figmate
  • Figmate
  • April 30, 2024

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