Debounce localstorage save (#328)
I profiled dragging and it looks like it takes ~3ms to save to localStorage a smallish scene and we're doing it twice per mousemove. Let's debounce so we don't pay that cost on every mouse move. Stole the implementation from #220 which got reverted.pull/330/head
parent
c745fd4e5e
commit
3db7d69849
Loading…
Reference in New Issue