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

fix: incorrect scaling of images in dialogImage #1746

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

FOG-Yamato
Copy link
Contributor

Description

This PR fixes the squishing of big images in the config file preview window, now it will properly scale down the images while preserving the original aspect ratio instead of trying to make them fit by squishing them down.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Original:
chrome_bs4Wos9bFY
Screenshot_20240114_043030_Chrome
Screenshot_20240114_043322_Chrome
After the fix:

chrome_VfAKntRegt
Screenshot_20240114_043141_Chrome
Screenshot_20240114_043258_Chrome

[optional] Are there any post-deployment tasks we need to perform?

This fixes the squishing of big images in the config file preview window.
Scales image down while preserving the original aspect ratio.

Signed-off-by: Simion Balanuta <contact@cybersnets.com>
@meteyou meteyou merged commit 4ae21da into mainsail-crew:develop Jan 14, 2024
8 checks passed
@meteyou
Copy link
Member

meteyou commented Jan 14, 2024

Thx for your PR!

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

Successfully merging this pull request may close these issues.

2 participants