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

[0455/difficulty-name] プレイ画面に譜面名を追加、曲名長に合わせて文字サイズを調整 #1124

Merged
merged 5 commits into from Sep 25, 2021

Conversation

cwtickle
Copy link
Owner

@cwtickle cwtickle commented Sep 24, 2021

🔨 変更内容 / Details of Changes

  1. プレイ画面に譜面名を表示するよう変更しました。
  2. プレイ画面の曲名・アーティスト名について、
    横長に合わせて文字サイズを調整するよう変更しました。
    また、スコアや速度変化表示などカスタムを行っている場合を想定し、
    クレジット表示を被せたくない幅をpx単位で設定できるようにしました。
|customCreditWidth=150|
  1. タイトル画面のクレジットリンクサイズを調整しました。
    こちらのMaker, Artistについても全体枠に入るようにサイズ調整するようになります。
    (最小で12px)

🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes

  1. Gitter要望より。
    https://gitter.im/danonicw/community?at=614d9e3363dca81891792046
  2. 1.の変更により横幅が足りなくなる可能性があるため。
  3. クレジットが長い場合、改行されて崩れる場合があるため。

📷 スクリーンショット / Screenshot

  • クレジット欄がアーティスト名含め12px未満となる場合は、
    アーティスト名を譜面名の行へ移動したうえでそれぞれの行サイズを調整

  • タイトル画面(アーティスト名が長い場合)

📝 その他コメント / Other Comments

  • 曲名・アーティスト名が長すぎる場合、
    フォント最小値の関係で折り返しが発生する可能性があります。
  • 曲名・アーティスト名及び曲時間の位置を5pxほど上にしています。
  • 譜面名について、Onigiriなしや制作者名(makerView指定時)は表示しますが
    別キー表示は行いません。

@codeclimate
Copy link

codeclimate bot commented Sep 25, 2021

Code Climate has analyzed commit 81194ec and detected 0 issues on this pull request.

View more on Code Climate.

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.

None yet

1 participant