Fix #329: respect monitor ICC

This commit is contained in:
Paddy
2022-02-13 15:01:32 +01:00
parent b39a58f1b9
commit 22c08f62fa
10 changed files with 40 additions and 18 deletions

View File

@@ -171,6 +171,11 @@ namespace QuickLook
_path = path;
Plugin = matchedPlugin;
ContextObject.Reset();
// assign monitor color profile
ContextObject.ColorProfileName = DisplayDeviceHelper.GetMonitorColorProfileFromWindow(this);
// get window size before showing it
try
{