Merge pull request #650 from HandyOrg/t/bot/fix-codeformatting
[Bot] Automated PR to fix formatting errors
This commit is contained in:
1 file changed
+2
-2
@@ -139,9 +139,9 @@ namespace HandyControl.Tools
|
||||
return WindowResizeBorderThickness.Add(new Thickness(autoHide ? -8 : 0));
|
||||
#elif NETCOREAPP
|
||||
var hdc = InteropMethods.GetDC(IntPtr.Zero);
|
||||
var scale = InteropMethods.GetDeviceCaps(hdc, InteropValues.DESKTOPVERTRES) / (float)InteropMethods.GetDeviceCaps(hdc, InteropValues.VERTRES);
|
||||
var scale = InteropMethods.GetDeviceCaps(hdc, InteropValues.DESKTOPVERTRES) / (float) InteropMethods.GetDeviceCaps(hdc, InteropValues.VERTRES);
|
||||
InteropMethods.ReleaseDC(IntPtr.Zero, hdc);
|
||||
return WindowResizeBorderThickness.Add(new Thickness((autoHide ? - 4 : 4) * scale));
|
||||
return WindowResizeBorderThickness.Add(new Thickness((autoHide ? -4 : 4) * scale));
|
||||
#else
|
||||
return WindowResizeBorderThickness.Add(new Thickness(autoHide ? -4 : 4));
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user