{"version":3,"file":"roundToDevicePixel.d.ts","names":["roundToDevicePixel"],"sources":["../../src/utils/roundToDevicePixel.d.ts"],"sourcesContent":["/**\n * Snap a CSS-pixel value to the nearest device-pixel boundary. Browsers store\n * scrollTop on the device-pixel grid on fractional-DPR displays (1.25x, 1.5x,\n * etc.), so rounding computed scroll targets against that grid keeps delta\n * math settling cleanly instead of hovering around fractional residuals.\n *\n * Reads window.devicePixelRatio fresh on each call so monitor-switching and\n * zoom changes are picked up without needing to flush any cached value.\n */\nexport declare function roundToDevicePixel(value: number): number;\n//# sourceMappingURL=roundToDevicePixel.d.ts.map"],"mappings":";;AASA;;;;;;;;iBAAwBA,kBAAAA"}