fix: blocks being dragged behind toolbox (#7619)

* fix: add layer manager to fix dragging

* chore: fix block animations

* chore: add tests

* chore: format
This commit is contained in:
Beka Westberg
2023-11-08 23:25:45 +00:00
committed by GitHub
parent d8eb7b56bb
commit 02cd1c6a1b
14 changed files with 376 additions and 56 deletions

19
core/layers.ts Normal file
View File

@@ -0,0 +1,19 @@
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* The layer to place blocks on.
*
* @internal
*/
export const BLOCK = 50;
/**
* The layer to place bubbles on.
*
* @internal
*/
export const BUBBLE = 100;