mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
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:
19
core/layers.ts
Normal file
19
core/layers.ts
Normal 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;
|
||||
Reference in New Issue
Block a user