From 9549610f7f0489cb5e94d0ccaeb86720d75f6a55 Mon Sep 17 00:00:00 2001 From: Kengwang Date: Sun, 21 Feb 2021 20:23:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=8C=E8=AF=8D=E5=A4=A7=E5=B0=8F=E6=9B=B4?= =?UTF-8?q?=E5=8A=A0=E4=BA=BA=E6=80=A7=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + 增加最小大小 --- HyPlayer/Controls/LyricItem.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HyPlayer/Controls/LyricItem.xaml.cs b/HyPlayer/Controls/LyricItem.xaml.cs index d40de3b7..bcaa1884 100644 --- a/HyPlayer/Controls/LyricItem.xaml.cs +++ b/HyPlayer/Controls/LyricItem.xaml.cs @@ -50,8 +50,8 @@ public LyricItem(SongLyric lrc) private void Current_SizeChanged(object sender, Windows.UI.Core.WindowSizeChangedEventArgs e) { - showsize = (int)Window.Current.Bounds.Width / 50; - hidsize = (int)Window.Current.Bounds.Width / 80; + showsize = Math.Max((int)Window.Current.Bounds.Width / 50, 18); + hidsize = Math.Max((int)Window.Current.Bounds.Width / 80, 14); if (showing) { TextBoxTranslation.FontSize = showsize;