From 8c1c84e9aa9990ca657a1f8257c1f030c852d1d3 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 17 Oct 2022 08:48:32 +0100 Subject: [PATCH] Use requestAnimationFrame for DND overlay placeholder updates to further improve performance --- .../preview/DNDPlaceholderOverlay.svelte | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/packages/client/src/components/preview/DNDPlaceholderOverlay.svelte b/packages/client/src/components/preview/DNDPlaceholderOverlay.svelte index 12103e3904..6ed2df6a87 100644 --- a/packages/client/src/components/preview/DNDPlaceholderOverlay.svelte +++ b/packages/client/src/components/preview/DNDPlaceholderOverlay.svelte @@ -1,24 +1,27 @@