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

[stable21] Use physical pixel size for preview resolution #937

Merged
merged 1 commit into from
Jun 16, 2021

Conversation

backportbot-nextcloud[bot]
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Jun 5, 2021

backport of #899

@backportbot-nextcloud backportbot-nextcloud bot added the bug Something isn't working label Jun 5, 2021
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 21.0.3 milestone Jun 5, 2021
@skjnldsv
Copy link
Member

skjnldsv commented Jun 5, 2021

/compile amend /

Code was inspired by code in an MDN page (in the public domain)
https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio

getPreviewIfAny: extract queryParams to get preview

Signed-off-by: Robbert Gurdeep Singh <[email protected]>
Signed-off-by: Axel Pirek <[email protected]>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
@npmbuildbot-nextcloud npmbuildbot-nextcloud bot force-pushed the backport/899/stable21 branch from 859e482 to 49b70c6 Compare June 5, 2021 09:31
@beardhatcode
Copy link
Contributor

@skjnldsv , this can be merged right?

@skjnldsv skjnldsv merged commit d694d57 into stable21 Jun 16, 2021
@skjnldsv skjnldsv deleted the backport/899/stable21 branch June 16, 2021 15:02
@blizzz blizzz mentioned this pull request Jun 23, 2021
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants