Skip to content

Commit

Permalink
Change EnableDPIAwareness manifest option to `PerMonitorHighDPIAwar…
Browse files Browse the repository at this point in the history
…e`, so application working slightly better on systems where different displays have different scale options.
  • Loading branch information
miherius committed Jun 29, 2024
1 parent 69bdf62 commit fe76f08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/JPEGView/JPEGView.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<AdditionalOptions>/IGNORE:4099 %(AdditionalOptions)</AdditionalOptions>
</Link>
<Manifest>
<EnableDPIAwareness>true</EnableDPIAwareness>
<EnableDPIAwareness>PerMonitorHighDPIAware</EnableDPIAwareness>
</Manifest>
<PostBuildEvent>
<Command>call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)"</Command>
Expand Down Expand Up @@ -181,7 +181,7 @@
<AdditionalOptions>/IGNORE:4099 %(AdditionalOptions)</AdditionalOptions>
</Link>
<Manifest>
<EnableDPIAwareness>true</EnableDPIAwareness>
<EnableDPIAwareness>PerMonitorHighDPIAware</EnableDPIAwareness>
</Manifest>
<PostBuildEvent>
<Command>call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)"</Command>
Expand Down Expand Up @@ -236,7 +236,7 @@
<AdditionalOptions>/IGNORE:4099 %(AdditionalOptions)</AdditionalOptions>
</Link>
<Manifest>
<EnableDPIAwareness>true</EnableDPIAwareness>
<EnableDPIAwareness>PerMonitorHighDPIAware</EnableDPIAwareness>
</Manifest>
<PostBuildEvent>
<Command>call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)"</Command>
Expand Down Expand Up @@ -289,7 +289,7 @@
<AdditionalOptions>/IGNORE:4099 %(AdditionalOptions)</AdditionalOptions>
</Link>
<Manifest>
<EnableDPIAwareness>true</EnableDPIAwareness>
<EnableDPIAwareness>PerMonitorHighDPIAware</EnableDPIAwareness>
</Manifest>
<PostBuildEvent>
<Command>call "$(SolutionDir)..\extras\scripts\JPEGView.vcxproj-postbuild-event.bat" "$(PlatformArchitecture)" "$(ProjectName)" "$(ProjectDir)" "$(OutDirFullPath)"</Command>
Expand Down

0 comments on commit fe76f08

Please sign in to comment.