mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-09 15:09:49 +03:00
refactor some code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user