mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-24 02:00:55 +08:00
fixed #105
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user