Skip to content

docs: coordinate system of Display.bounds and Display.workArea - #27157

Merged
zcbenz merged 1 commit into
electron:masterfrom
jameshfisher:patch-3
Jan 7, 2021
Merged

zcbenz merged 1 commit into
electron:masterfrom
jameshfisher:patch-3

Conversation

@jameshfisher

@jameshfisher jameshfisher commented Dec 31, 2020 •

Copy link
Copy Markdown
Contributor

Description of Change

These properties are in DIP points (rather than screen points). We can use screen.dipToScreen* to convert to screen points.

Checklist

  • PR description included and stakeholders cc'd
  • relevant documentation is changed or added

Notes: none.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Dec 31, 2020
@codebytere

Copy link
Copy Markdown
Member

@jameshfisher please correct your commit message per our guidelines - it must have a semantic prefix (ex. doc:)

@jameshfisher jameshfisher changed the title Document coordinate system of Display.bounds and Display.workArea docs; coordinate system of Display.bounds and Display.workArea Jan 6, 2021
@jameshfisher jameshfisher changed the title docs; coordinate system of Display.bounds and Display.workArea docs: coordinate system of Display.bounds and Display.workArea Jan 6, 2021
They are in DIP points (rather than screen points). We can use
screen.dipToScreen* to convert to screen points.
@electron-cation electron-cation Bot added new-pr 🌱 PR opened recently and removed new-pr 🌱 PR opened recently labels Jan 7, 2021
@zcbenz
zcbenz merged commit 0f8b5ab into electron:master Jan 7, 2021
@release-clerk

release-clerk Bot commented Jan 7, 2021

Copy link
Copy Markdown

No Release Notes

@jameshfisher
jameshfisher deleted the patch-3 branch January 7, 2021 11:41
@miniak

miniak commented Jun 15, 2021

Copy link
Copy Markdown
Contributor

/trop run backport-to 12-x-y

@trop

trop Bot commented Jun 15, 2021

Copy link
Copy Markdown
Contributor

The backport process for this PR has been manually initiated - sending your PR to 12-x-y!

@trop

trop Bot commented Jun 15, 2021

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "12-x-y", please check out #29708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants