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