Skip to content

Commit

Permalink
Merge pull request #157 from JulieWinchester/pixel-density-support
Browse files Browse the repository at this point in the history
Support higher pixel densities via core pixel ratio scaling setting
  • Loading branch information
megahead11 authored Nov 13, 2023
2 parents 9df0a0e + 69dfba1 commit c95a401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/Theatre.js
Original file line number Diff line number Diff line change
Expand Up @@ -2107,6 +2107,7 @@ export class Theatre {
backgroundAlpha: 0,
antialias: true,
width: document.body.offsetWidth,
resolution: game.settings.get("core", "pixelRatioResolutionScaling") ? window.devicePixelRatio : 1
});

let canvas = app.view;
Expand Down

0 comments on commit c95a401

Please sign in to comment.