mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 23:18:26 +00:00
0db18745f4
This ensures we don't scale the underlying size of the layer beyond what is close to the current display size. When box shadows get much larger than this, they start taking so much time to render that successive frames grow in scale too fast for any inter-frame reuse to be possible. With this, we avoid that and no longer get crushed by re-rendering gigantic box shadows every single frame. See BZ 1383825