Skip to content

Commit

Permalink
Lower the maximum display DPI to 300
Browse files Browse the repository at this point in the history
Resolves #1164

Although display DPI 400 works on my device (Meta Quest 2)
without any freeze, let's still lower it down to 300 so that
it can be safe for all.

Signed-off-by: Hollow Man <[email protected]>
  • Loading branch information
HollowMan6 committed Dec 31, 2023
1 parent f070274 commit 70ecde0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ SettingsStore getInstance(final @NonNull Context aContext) {
public final static int DISPLAY_DPI_BASE = 128;
public final static int DISPLAY_DPI_DEFAULT = (int) (DISPLAY_DENSITY_DEFAULT * DISPLAY_DPI_BASE);
public final static int DISPLAY_DPI_MIN = 70;
public final static int DISPLAY_DPI_MAX = 400;
public final static int DISPLAY_DPI_MAX = 300;
// World size: multiply by density to get the available resolution for the Web engine.
public final static int WINDOW_WIDTH_DEFAULT = 800;
public final static int WINDOW_HEIGHT_DEFAULT = 450;
Expand Down

0 comments on commit 70ecde0

Please sign in to comment.