motion-dom
Version:
1 lines • 686 B
Source Map (JSON)
{"version":3,"file":"accelerated-values.mjs","sources":["../../../../../src/animation/waapi/utils/accelerated-values.ts"],"sourcesContent":["/**\n * A list of values that can be hardware-accelerated.\n *\n * Colors aren't included: WAAPI mixes them in sRGB, but JS animations\n * (and the sampler that estimates a WAAPI value on interrupt) mix them\n * in linear color space, so interrupting one would visibly jump.\n */\nexport const acceleratedValues = new Set<string>([\n \"opacity\",\n \"clipPath\",\n \"filter\",\n \"transform\",\n])\n"],"names":[],"mappings":"AAAA;;;;;;AAMG;AACI,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAS;IAC7C,SAAS;IACT,UAAU;IACV,QAAQ;IACR,WAAW;AACd,CAAA;;;;"}