Skip to main content
Question

Can not get color of gradient linear by plugin api


shun1
  • New Participant
  • 6 replies

The gradientStops is empty array
image

This topic has been closed for comments

6 replies

  • 2 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
  • 2 replies
  • 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.


same problem


shun1
  • Author
  • New Participant
  • 6 replies
  • April 29, 2024

Is there no official response to this bug?


shun1
  • Author
  • New Participant
  • 6 replies
  • April 30, 2024

This bug was fixed!


James_Yang
Figmate
  • Figmate
  • 82 replies
  • April 30, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings