From 7bb9d0ad6f165874105ff8870c0c9d2e48f8fa87 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Mon, 8 Apr 2019 22:36:02 +0800 Subject: [PATCH] Update NotifyIcon.cs --- src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs b/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs index db2715bc..badb1c40 100644 --- a/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs +++ b/src/Shared/HandyControl_Shared/Controls/Other/NotifyIcon.cs @@ -331,7 +331,9 @@ namespace HandyControl.Controls { Placement = PlacementMode.Mouse, AllowsTransparency = true, - StaysOpen = false + StaysOpen = false, + UseLayoutRounding = true, + SnapsToDevicePixels = true }; }