Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

複数のSVGPathEditorインスタンスからのeditingRootLayer共有化 #18

Open
ynakajima opened this issue Feb 4, 2012 · 0 comments
Assignees
Milestone

Comments

@ynakajima
Copy link
Owner

複数のSVGPathEditorインスタンスを作成すると各々がeditingRootLayerをSVGに追加してしまうので、下記のように共有化してみたらどうだろうか?

<svg>
  ....
  <g id="SVGPathEditor">
     <g class="svgPathEditor_インスタンス番号">....</g>
     <g class="svgPathEditor_インスタンス番号">....</g>
  </g>
</svg>

注意点

  • id名が既存の要素とかぶった場合の処理の追加
  • 常に最上位に来るようにする??GitHub Flavored Markdown
@ghost ghost assigned ynakajima Feb 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant