UNPKG

@vuesax-alpha/nightly

Version:
10 lines (7 loc) 218 B
import { getDPR } from './get-dpr.mjs'; function roundByDPR(element, value) { const dpr = getDPR(element); return Math.round(value * dpr) / dpr; } export { roundByDPR }; //# sourceMappingURL=round-by-dpr.mjs.map