This commit is contained in:
zqm
2025-10-30 15:40:45 +08:00
parent a6bb9b8812
commit acc2509005

View File

@@ -107,10 +107,7 @@ namespace JoyD.Windows.CS.Toprie
using (Graphics g = Graphics.FromImage(_infoImage)) using (Graphics g = Graphics.FromImage(_infoImage))
{ {
// 设置半透明背景 // 设置半透明背景
using (SolidBrush brush = new SolidBrush(Color.FromArgb(128, Color.Transparent))) g.Clear(Color.FromArgb(128, Color.Transparent));
{
g.FillRectangle(brush, 0, 0, BUFFER_WIDTH, BUFFER_HEIGHT);
}
if (isPaused) if (isPaused)
{ {
// 暂停状态 - 最高优先级 // 暂停状态 - 最高优先级
@@ -150,7 +147,7 @@ namespace JoyD.Windows.CS.Toprie
} }
else if (isPingFailed) else if (isPingFailed)
{ {
text = "连接断开"; text = "网络断开";
textColor = Color.Red; textColor = Color.Red;
} }