{"action":"created","issue":{"url":"https://api.github.com/repos/wkentaro/labelme/issues/122","repository_url":"https://api.github.com/repos/wkentaro/labelme","labels_url":"https://api.github.com/repos/wkentaro/labelme/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/wkentaro/labelme/issues/122/comments","events_url":"https://api.github.com/repos/wkentaro/labelme/issues/122/events","html_url":"https://github.com/wkentaro/labelme/pull/122","id":312967310,"number":122,"title":"Zooming fix","user":{"login":"jbvo","id":24601408,"avatar_url":"https://avatars2.githubusercontent.com/u/24601408?v=4","gravatar_id":"","url":"https://api.github.com/users/jbvo","html_url":"https://github.com/jbvo","followers_url":"https://api.github.com/users/jbvo/followers","following_url":"https://api.github.com/users/jbvo/following{/other_user}","gists_url":"https://api.github.com/users/jbvo/gists{/gist_id}","starred_url":"https://api.github.com/users/jbvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbvo/subscriptions","organizations_url":"https://api.github.com/users/jbvo/orgs","repos_url":"https://api.github.com/users/jbvo/repos","events_url":"https://api.github.com/users/jbvo/events{/privacy}","received_events_url":"https://api.github.com/users/jbvo/received_events","type":"User","site_admin":false},"labels":[{"id":373211525,"url":"https://api.github.com/repos/wkentaro/labelme/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"wkentaro","id":4310419,"avatar_url":"https://avatars2.githubusercontent.com/u/4310419?v=4","gravatar_id":"","url":"https://api.github.com/users/wkentaro","html_url":"https://github.com/wkentaro","followers_url":"https://api.github.com/users/wkentaro/followers","following_url":"https://api.github.com/users/wkentaro/following{/other_user}","gists_url":"https://api.github.com/users/wkentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/wkentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkentaro/subscriptions","organizations_url":"https://api.github.com/users/wkentaro/orgs","repos_url":"https://api.github.com/users/wkentaro/repos","events_url":"https://api.github.com/users/wkentaro/events{/privacy}","received_events_url":"https://api.github.com/users/wkentaro/received_events","type":"User","site_admin":false},"assignees":[{"login":"wkentaro","id":4310419,"avatar_url":"https://avatars2.githubusercontent.com/u/4310419?v=4","gravatar_id":"","url":"https://api.github.com/users/wkentaro","html_url":"https://github.com/wkentaro","followers_url":"https://api.github.com/users/wkentaro/followers","following_url":"https://api.github.com/users/wkentaro/following{/other_user}","gists_url":"https://api.github.com/users/wkentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/wkentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkentaro/subscriptions","organizations_url":"https://api.github.com/users/wkentaro/orgs","repos_url":"https://api.github.com/users/wkentaro/repos","events_url":"https://api.github.com/users/wkentaro/events{/privacy}","received_events_url":"https://api.github.com/users/wkentaro/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-10T15:10:09Z","updated_at":"2018-04-10T15:36:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wkentaro/labelme/pulls/122","html_url":"https://github.com/wkentaro/labelme/pull/122","diff_url":"https://github.com/wkentaro/labelme/pull/122.diff","patch_url":"https://github.com/wkentaro/labelme/pull/122.patch"},"body":"3 main changes:\r\n1. Fixes scroll wheel zooming in my Ubuntu setup.\r\n2. Zoom shortcut adjusted to be more similar to browsers: `Ctrl+0` to zoom to 100%, `Ctrl+=` to zoom in, `Ctrl+-` to zoom out.\r\n3. Zoom into the cursor location instead of towards (0,0).\r\n\r\nRegarding the Ubuntu setup: `pixelDelta()` is always 0 in my case, this is mentioned in the Qt documentation as a X11 specific issue: https://doc.qt.io/qt-5/qwheelevent.html#pixelDelta. I now changed it to `angleDelta()` instead, which based on the documentation I would expect to work on all platforms. However I don't have a Mac to test it."},"comment":{"url":"https://api.github.com/repos/wkentaro/labelme/issues/comments/380145889","html_url":"https://github.com/wkentaro/labelme/pull/122#issuecomment-380145889","issue_url":"https://api.github.com/repos/wkentaro/labelme/issues/122","id":380145889,"user":{"login":"wkentaro","id":4310419,"avatar_url":"https://avatars2.githubusercontent.com/u/4310419?v=4","gravatar_id":"","url":"https://api.github.com/users/wkentaro","html_url":"https://github.com/wkentaro","followers_url":"https://api.github.com/users/wkentaro/followers","following_url":"https://api.github.com/users/wkentaro/following{/other_user}","gists_url":"https://api.github.com/users/wkentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/wkentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkentaro/subscriptions","organizations_url":"https://api.github.com/users/wkentaro/orgs","repos_url":"https://api.github.com/users/wkentaro/repos","events_url":"https://api.github.com/users/wkentaro/events{/privacy}","received_events_url":"https://api.github.com/users/wkentaro/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T15:36:34Z","updated_at":"2018-04-10T15:36:34Z","author_association":"OWNER","body":"Is `Ctrl+=` usual?\r\nBelow pages say Chrome and Firefox support `Ctrl++` and `Ctrl+-` to zoom in and out.\r\nhttps://support.google.com/chrome/answer/96810?hl=en\r\nhttps://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages"}}
{"actor":{"display_login":"wkentaro"}}