This commit is contained in:
cologler
2017-10-30 21:35:01 +08:00
committed by GitHub
parent 470eb93a3f
commit 22fda2dbba

View File

@@ -80,8 +80,8 @@ namespace QuickLook.Helpers
matrix = src.CompositionTarget.TransformToDevice;
}
pixelX = (int) (matrix.M11 * unitX);
pixelY = (int) (matrix.M22 * unitY);
pixelX = (int)Math.Round((matrix.M11 * unitX));
pixelY = (int)Math.Round((matrix.M22 * unitY));
}
internal static bool IsForegroundWindowBelongToSelf()
@@ -149,4 +149,4 @@ namespace QuickLook.Helpers
}
}
}
}
}