MCPcopy Create free account
hub / github.com/dailydotdev/apps / dprCap

Function dprCap

packages/webapp/components/world/engine/world.js:61–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 difference between 2 and 3 is invisible at arm's length and 2.25x the
60 fragments. On a handheld the same argument keeps going down one more step. */
61const dprCap = () => Math.min(devicePixelRatio, LITE ? 1.5 : 2);
62
63/* ============================================================================
64 THE ART, and what it is arguing.

Callers 3

createWorldEngineFunction · 0.85
reflowFunction · 0.85
sizePostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected