Skip to content

Instantly share code, notes, and snippets.

@janily
Last active June 16, 2020 11:17
Show Gist options
  • Save janily/ddc04a0171993ad97c22e3812636490f to your computer and use it in GitHub Desktop.
Save janily/ddc04a0171993ad97c22e3812636490f to your computer and use it in GitHub Desktop.
resize symbol
selection.sketchObject.resizeToFitContentsIfNeededNoCache() //重置 symbol 尺寸
layer.select_byExpandingSelection(true,false) // 设置图层为选中状态
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment