From 949df59c9e9375be3e12d901fe0afc7a3100240f Mon Sep 17 00:00:00 2001
From: Ani <115020168+drawbyperpetual@users.noreply.github.com>
Date: Mon, 3 Jun 2024 22:41:46 +0200
Subject: [PATCH] [PTRun]Fix scaling issues by setting per-monitor DPI aware
(#32882)
* Made PT Launcher per-monitor DPI aware
* Added PerMonitor fallback
---
src/modules/launcher/PowerLauncher/PowerLauncher.csproj | 2 +-
src/modules/launcher/PowerLauncher/app.manifest | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/modules/launcher/PowerLauncher/PowerLauncher.csproj b/src/modules/launcher/PowerLauncher/PowerLauncher.csproj
index 90c91ea27d..f2e9674823 100644
--- a/src/modules/launcher/PowerLauncher/PowerLauncher.csproj
+++ b/src/modules/launcher/PowerLauncher/PowerLauncher.csproj
@@ -7,7 +7,7 @@
10.0.19041.0
10.0.19041.0
true
- true
+ False
PowerLauncher.App
Assets\PowerLauncher\RunResource.ico
app.manifest
diff --git a/src/modules/launcher/PowerLauncher/app.manifest b/src/modules/launcher/PowerLauncher/app.manifest
index 52d1c39327..fb9b15e291 100644
--- a/src/modules/launcher/PowerLauncher/app.manifest
+++ b/src/modules/launcher/PowerLauncher/app.manifest
@@ -49,13 +49,13 @@
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->
-