未验证 提交 4baece99 编写于 作者: L lindexi 提交者: GitHub

Remove the unused local variable in PointerTabletDevice.cs (#6209)

上级 8713149e
......@@ -121,13 +121,9 @@ private void BuildStylusDevices()
/// <summary>
/// Updates the various size parameters for drag/drop/tap.
/// </summary>
/// <param name="description"></param>
/// <param name="stylusLogic"></param>
internal void UpdateSizeDeltas()
{
// Query default settings for mouse drag and double tap (with minimum of 1x1 size).
Size mouseDragDefault = new Size(Math.Max(1, MS.Win32.SafeSystemMetrics.DragDeltaX / 2),
Math.Max(1, MS.Win32.SafeSystemMetrics.DragDeltaY / 2));
Size mouseDoubleTapDefault = new Size(Math.Max(1, MS.Win32.SafeSystemMetrics.DoubleClickDeltaX / 2),
Math.Max(1, MS.Win32.SafeSystemMetrics.DoubleClickDeltaY / 2));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册