refactor some code

This commit is contained in:
2dust
2022-03-21 20:20:29 +08:00
parent 78d6bcd57a
commit a2679e009d
10 changed files with 48 additions and 42 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ namespace v2rayN.Handler
if (!Utils.IsNullOrEmpty(item.customIcon) && File.Exists(item.customIcon))
{
graphics.FillRectangle(drawBrush, new Rectangle(0, 0, width, height));
graphics.DrawImage(new Bitmap(item.customIcon), 0, 0);
graphics.DrawImage(new Bitmap(item.customIcon), 0, 0, width, height);
customIcon = true;
}
}