Overlay文字間距調整

This commit is contained in:
allen.yan 2025-07-31 16:49:11 +08:00
parent f048fa28cf
commit 70c34f1543

View File

@ -1429,7 +1429,7 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
// 根據索引決定左側或右側顯示 // 根據索引決定左側或右側顯示
int x = (i - startIndex) < songsPerColumn ? leftColumnX : rightColumnX; int x = (i - startIndex) < songsPerColumn ? leftColumnX : rightColumnX;
// 計算 Y 位置 // 計算 Y 位置
int y = startY += 75; int y = startY += 55;
// 顯示歌曲名稱圖片 // 顯示歌曲名稱圖片
AddPicture(songBitmap, x, y); AddPicture(songBitmap, x, y);
@ -1534,8 +1534,8 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
Bitmap artistBitmap = GenerateTextImage(artistText, artistFont, artistColor, Color.Transparent); Bitmap artistBitmap = GenerateTextImage(artistText, artistFont, artistColor, Color.Transparent);
int x = (i - startIndex) < songsPerColumn ? leftColumnX : rightColumnX; int x = (i - startIndex) < songsPerColumn ? leftColumnX : rightColumnX;
int y = startY + ((i - startIndex) % songsPerColumn) * (rowHeight + verticalSpacing); //int y = startY + ((i - startIndex) % songsPerColumn) * (rowHeight + verticalSpacing);
int y = startY += 55;
// 顯示歌曲名稱圖片 // 顯示歌曲名稱圖片
AddPicture(songBitmap, x, y); AddPicture(songBitmap, x, y);
// 顯示歌手名稱圖片(稍微右移) // 顯示歌手名稱圖片(稍微右移)