{"action":"closed","issue":{"url":"https://api.github.com/repos/konvajs/konva/issues/558","repository_url":"https://api.github.com/repos/konvajs/konva","labels_url":"https://api.github.com/repos/konvajs/konva/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/konvajs/konva/issues/558/comments","events_url":"https://api.github.com/repos/konvajs/konva/issues/558/events","html_url":"https://github.com/konvajs/konva/issues/558","id":403149940,"node_id":"MDU6SXNzdWU0MDMxNDk5NDA=","number":558,"title":"Stage.clear()","user":{"login":"deathblade89","id":16613924,"node_id":"MDQ6VXNlcjE2NjEzOTI0","avatar_url":"https://avatars3.githubusercontent.com/u/16613924?v=4","gravatar_id":"","url":"https://api.github.com/users/deathblade89","html_url":"https://github.com/deathblade89","followers_url":"https://api.github.com/users/deathblade89/followers","following_url":"https://api.github.com/users/deathblade89/following{/other_user}","gists_url":"https://api.github.com/users/deathblade89/gists{/gist_id}","starred_url":"https://api.github.com/users/deathblade89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathblade89/subscriptions","organizations_url":"https://api.github.com/users/deathblade89/orgs","repos_url":"https://api.github.com/users/deathblade89/repos","events_url":"https://api.github.com/users/deathblade89/events{/privacy}","received_events_url":"https://api.github.com/users/deathblade89/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2019-01-25T13:06:08Z","updated_at":"2019-02-13T19:51:36Z","closed_at":"2019-02-13T19:51:36Z","author_association":"NONE","body":"Hi @lavrton \r\n\r\nI am experiencing some weird issues around clearing the stage.\r\n\r\nThe implementation is : Draw stuff to stage, save to file. Open file.\r\n\r\nWhen opening a file:\r\n\r\nMethod 1:\r\nstage.clear()\r\n// Expect stage to be cleared\r\ndraw elements based on file contents.\r\n\r\nMethod 2: \r\nMasterLayer -> get all ancestors, destroy all.\r\n// Expect stage to be cleared excluding the master layer\r\ndraw elements based on file contents.\r\n\r\nIn both cases, when drawing back to the stage there are unexpected results. \r\n\r\nHow long does it take to clear the stage? is there an event that can be listened on to know when i can start drawing back to the stage?"}}
{"actor":{"display_login":"deathblade89"}}