MCPcopy Create free account
hub / github.com/play-co/devkit / getScale

Function getScale

src/web/components/DeviceDialog.js:93–96  ·  view source on GitHub ↗
(w, h)

Source from the content-addressed store, hash-verified

91 };
92
93 function getScale(w, h) {
94 var ratio = w / h;
95 return FIT_TO / (ratio > 1 ? w : h);
96 }
97
98 this.buildWidget = function () {
99

Callers 1

DeviceDialog.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…