Open karutt opened 2 years ago
I have created a React component called Corner that adds the ability to resize the plugin window. The screen height and width are stored in the clientStorage of figma, and the next time the plugin is launched, the stored values are referenced.
For more information about figma.clientStorage, we referred to the official Figma API. https://www.figma.com/plugin-docs/api/figma-clientStorage/
Mainly, the code was referenced from https://gist.github.com/sonnylazuardi/e55300f28fbe109db052f6568fee5a04
I have created a React component called Corner that adds the ability to resize the plugin window. The screen height and width are stored in the clientStorage of figma, and the next time the plugin is launched, the stored values are referenced.
For more information about figma.clientStorage, we referred to the official Figma API. https://www.figma.com/plugin-docs/api/figma-clientStorage/
Mainly, the code was referenced from https://gist.github.com/sonnylazuardi/e55300f28fbe109db052f6568fee5a04