{"action":"opened","issue":{"url":"https://api.github.com/repos/muf/KHU-2017-2-Capstone2/issues/12","repository_url":"https://api.github.com/repos/muf/KHU-2017-2-Capstone2","labels_url":"https://api.github.com/repos/muf/KHU-2017-2-Capstone2/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/muf/KHU-2017-2-Capstone2/issues/12/comments","events_url":"https://api.github.com/repos/muf/KHU-2017-2-Capstone2/issues/12/events","html_url":"https://github.com/muf/KHU-2017-2-Capstone2/issues/12","id":269984674,"number":12,"title":"Zoom In/Out is not working properly","user":{"login":"muf","id":7663124,"avatar_url":"https://avatars1.githubusercontent.com/u/7663124?v=4","gravatar_id":"","url":"https://api.github.com/users/muf","html_url":"https://github.com/muf","followers_url":"https://api.github.com/users/muf/followers","following_url":"https://api.github.com/users/muf/following{/other_user}","gists_url":"https://api.github.com/users/muf/gists{/gist_id}","starred_url":"https://api.github.com/users/muf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muf/subscriptions","organizations_url":"https://api.github.com/users/muf/orgs","repos_url":"https://api.github.com/users/muf/repos","events_url":"https://api.github.com/users/muf/events{/privacy}","received_events_url":"https://api.github.com/users/muf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T14:42:12Z","updated_at":"2017-10-31T14:42:12Z","closed_at":null,"author_association":"OWNER","body":"It Zoooms In or Out too much..\r\nBecause doubly added to event listener..\r\n\r\n이벤트 리스너로 이벤트를 추가하면, 같은 이벤트에 대해서 overwriting 되는 것이 아니라, 하나가 더 추가되는 방식이라서 2번 수행되는 것처럼 진행된다.\r\n\r\nmap.js에서 key에 대한 이벤트를 등록했는데,\r\nsimulation page에서는 다르게 동작하게 만들려는 의도로 overwriting 된다고 생각해서\r\nwindow.js에서 다시 정의했다. 이때, q,w에 대한 이벤트가 중복되어서\r\n결론적으로 기존에 확대/축소 하던 것보다 2배 더 크게 동작하는 문제가 발생했다..\r\n\r\nwindow.js에서 q/w를 제거해 주어 해결..\r\n만약 아예 없애고 싶다면 window.js 에서 기존 이벤트 핸들러를 등록 해제 한 후에 새로 등록해야 한다..\r\n헷갈리지 말자!"}}
{"actor":{"display_login":"muf"}}