diff options
author | riperiperi <rhy3756547@hotmail.com> | 2023-08-12 17:02:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 13:02:22 -0300 |
commit | 8c61ddd49d0b300866b602ad9f7fad69cd3bfa40 (patch) | |
tree | fb1aab9d38767c9da909e0a8a7ce1caaff2b2f48 /src | |
parent | 7b2225c6b0939b9720c56a89cb0c91311b2e19e5 (diff) |
Ava UI: Allow DPI switching (#5558)1.1.981
ForceDpiAware.Windows has a side effect of forcing the application DPI to be the same as the primary monitor. This isn't good if you have multiple monitors with different DPI.
On Avalonia, I don't think there are any downsides to disabling this. When it's disabled, `ForceDpiAware.GetWindowScaleFactor` always returns 1.
Diffstat (limited to 'src')
-rw-r--r-- | src/Ryujinx.Ava/Program.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Ryujinx.Ava/Program.cs b/src/Ryujinx.Ava/Program.cs index 86f38c34..168e9216 100644 --- a/src/Ryujinx.Ava/Program.cs +++ b/src/Ryujinx.Ava/Program.cs @@ -100,8 +100,6 @@ namespace Ryujinx.Ava ReloadConfig(); - ForceDpiAware.Windows(); - WindowScaleFactor = ForceDpiAware.GetWindowScaleFactor(); // Logging system information. |