{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/7187","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7187/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7187/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7187/events","html_url":"https://github.com/mozilla/pdf.js/issues/7187","id":147775683,"number":7187,"title":"No way to detect if viewer is in hand tool grab-pan mode","user":{"login":"chitgoks","id":3955470,"avatar_url":"https://avatars.githubusercontent.com/u/3955470?v=3","gravatar_id":"","url":"https://api.github.com/users/chitgoks","html_url":"https://github.com/chitgoks","followers_url":"https://api.github.com/users/chitgoks/followers","following_url":"https://api.github.com/users/chitgoks/following{/other_user}","gists_url":"https://api.github.com/users/chitgoks/gists{/gist_id}","starred_url":"https://api.github.com/users/chitgoks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chitgoks/subscriptions","organizations_url":"https://api.github.com/users/chitgoks/orgs","repos_url":"https://api.github.com/users/chitgoks/repos","events_url":"https://api.github.com/users/chitgoks/events{/privacy}","received_events_url":"https://api.github.com/users/chitgoks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/1-other","name":"1-other","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-12T14:49:27Z","updated_at":"2016-04-13T10:36:50Z","closed_at":"2016-04-13T10:36:50Z","body":"Manually setting it to presentation mode, i call HandTool.enterPresentationMode();\r\n\r\ni looked at the viewer.js and i cannot find any way to detect if the viewer is in presentation mode or not.\r\n\r\nis there such function currently?"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/209360662","html_url":"https://github.com/mozilla/pdf.js/issues/7187#issuecomment-209360662","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7187","id":209360662,"user":{"login":"Snuffleupagus","id":2692120,"avatar_url":"https://avatars.githubusercontent.com/u/2692120?v=3","gravatar_id":"","url":"https://api.github.com/users/Snuffleupagus","html_url":"https://github.com/Snuffleupagus","followers_url":"https://api.github.com/users/Snuffleupagus/followers","following_url":"https://api.github.com/users/Snuffleupagus/following{/other_user}","gists_url":"https://api.github.com/users/Snuffleupagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Snuffleupagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snuffleupagus/subscriptions","organizations_url":"https://api.github.com/users/Snuffleupagus/orgs","repos_url":"https://api.github.com/users/Snuffleupagus/repos","events_url":"https://api.github.com/users/Snuffleupagus/events{/privacy}","received_events_url":"https://api.github.com/users/Snuffleupagus/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T10:36:50Z","updated_at":"2016-04-13T10:36:50Z","body":"In that case, try using `HandTool.handTool.active`.\r\n\r\nClosing as answered."}}