[Feature]: Consistent distances between text in lyrics view

オープン
#321 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
design, mobile

調査の方向性

Start by locating the synced lyrics view and the code that switches the current sentence to bold, then trace how it detects pauses for the three point or notes animation. Check how text wrapping and spacing behave for current and regular lyrics, and whether pause timing can drive paragraph spacing. Done when the current line stays visually stable as it becomes bold and pauses are clearly reflected with consistent spacing.

索引モデルが issue の本文から書いたものです。

説明

enhancement
Is your feature request related to a problem?

When viewing sync'd lyrics, the current sentence is displayed in bold text. That feels quite immersive but the bold text needs more space so when the regular text already fills the whole line, as soon as it becomes bold, it takes two lines. I found that irritating in two ways: 1. The last word of the line jumps to the bottom while reading and 2. the line below stays empty in order to keep space for the last word jumping down. For me, an empty line suggests that there's a pause between two paragraphs. This got me confused a few times when I was passionately singing along :D

Describe the solution you'd like

In order to keep the distances consistent, you could have different margins for the current, bold text and for the regular text, so that the bold text would be allowed to fill quite a bit more space before it's cut into two lines.

Also, now that I thought that there were empty lines whenever there's a longer break between sung text, I think it would be a nice feature to actually have some space between paragraphs whenever there's pauses since you already have code detecting pauses (that starts the dancing three point/notes animation).

Describe alternatives you've considered

No response

主要言語
Kotlin
スター
284
フォーク
31
平均マージ
1日 1時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PixelPlayerHQ/PixelPlayerOSS のほかの issue

PixelPlayerHQ/PixelPlayerOSS の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。