Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen.screenToDipRect/dipToScreenRect not available in renderer process #35

Open
tong opened this issue Jul 19, 2018 · 0 comments
Open
Labels

Comments

@tong
Copy link
Owner

tong commented Jul 19, 2018

Electron 3.0.0-beta.3 added methods to electron.Screen (electron/electron#12879):

  • electron.Screen.screenToDipRect
  • electron.Screen.dipToScreenRect

… which have BrowserWindow as first parameter which is only availble in the main process (while Screen is available in both processes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant