Skip to content

Commit bdf4f4f

Browse files
authored
Change thresholds for hdpi (#183)
Co-authored-by: Jakub Szczyrk <Jakub Szczyrk>
1 parent ce28016 commit bdf4f4f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Assets/PatchKit Patcher/Scripts/UI/ScreenScale.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ public static float Value
1313
{
1414
float screenScale;
1515
float screenDpi = Screen.dpi;
16-
if (screenDpi >= 400)
16+
if (screenDpi >= 392)
1717
{
1818
screenScale = 4;
1919
}
20-
else if (screenDpi >= 200)
20+
else if (screenDpi >= 196)
2121
{
2222
screenScale = 2;
2323
}

Assets/PatchKit Patcher/Scripts/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public static class Version
55
public const int Major = 3;
66
public const int Minor = 17;
77
public const int Patch = 9;
8-
public const int Hotfix = 0;
8+
public const int Hotfix = 1;
99

1010
public static string Value
1111
{

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [3.17.9.1]
8+
### Fixed
9+
- Support for HDPI(change of thresholds)
10+
711
## [3.17.9.0]
812
### Added
913
- Support HDPI for debug menu

0 commit comments

Comments
 (0)