ionic-team / ionic-team/ionic-cli

Feature: ionic resources source different images for landscape and portrait

未关闭
#2,679 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

As a feature request it would be nice if we could use a different source image for landscape and portrait.

Right now the tool crops the source image to fit for landscape and portrait, however this doesn't always produce best results with images expected to take up the full screen.

The same method of cropping can be used on different source images. This will allow the image to take up the full screen in both landscape and portrait without having black bars in one mode (or half the image cut off)

Example use case:
Portrait: An image of a tall building.
Landscape: An image of a city skyline including the tall building

Filenaming:
Currently we use splash.png.
For this feature we could have 2 files, splash-landscape.png and splash-portrait.png.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。