{"action":"opened","issue":{"url":"https://api.github.com/repos/konvajs/konva/issues/299","repository_url":"https://api.github.com/repos/konvajs/konva","labels_url":"https://api.github.com/repos/konvajs/konva/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/konvajs/konva/issues/299/comments","events_url":"https://api.github.com/repos/konvajs/konva/issues/299/events","html_url":"https://github.com/konvajs/konva/issues/299","id":277086682,"number":299,"title":"changing attribute of a single Shape affects all shapes in the layer","user":{"login":"yossi-shasho","id":1956748,"avatar_url":"https://avatars0.githubusercontent.com/u/1956748?v=4","gravatar_id":"","url":"https://api.github.com/users/yossi-shasho","html_url":"https://github.com/yossi-shasho","followers_url":"https://api.github.com/users/yossi-shasho/followers","following_url":"https://api.github.com/users/yossi-shasho/following{/other_user}","gists_url":"https://api.github.com/users/yossi-shasho/gists{/gist_id}","starred_url":"https://api.github.com/users/yossi-shasho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yossi-shasho/subscriptions","organizations_url":"https://api.github.com/users/yossi-shasho/orgs","repos_url":"https://api.github.com/users/yossi-shasho/repos","events_url":"https://api.github.com/users/yossi-shasho/events{/privacy}","received_events_url":"https://api.github.com/users/yossi-shasho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-27T16:41:31Z","updated_at":"2017-11-27T16:41:31Z","closed_at":null,"author_association":"NONE","body":"When I create two custom shapes in a layer, e.g.\r\n```js\r\nimport Konva from 'konva'\r\n\r\nvar shape1 = new Konva.Shape({...})\r\nvar shape2 = new Konva.Shape({...})\r\nlayer.add(shape1)\r\nlayer.add(shape2)\r\n```\r\n\r\nNow the following code will enable stroke for both shapes, and not just for `shape1` like intended.\r\n```js\r\nshape1.strokeEnabled(true)\r\nlayer.draw()\r\n```\r\n\r\nusing Konva 1.7.6"}}
{"actor":{"display_login":"yossi-shasho"}}