diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DocumentDecorations.scss | 1 | ||||
-rw-r--r-- | src/util/DragManager.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/DocumentDecorations.scss b/src/DocumentDecorations.scss index 252b0f53f..e8b93a18b 100644 --- a/src/DocumentDecorations.scss +++ b/src/DocumentDecorations.scss @@ -1,6 +1,7 @@ #documentDecorations-container { position: absolute; display: grid; + z-index: 1000; grid-template-rows: 20px 1fr 20px; grid-template-columns: 20px 1fr 20px; pointer-events: none; diff --git a/src/util/DragManager.ts b/src/util/DragManager.ts index 5b7609819..b4132a222 100644 --- a/src/util/DragManager.ts +++ b/src/util/DragManager.ts @@ -82,6 +82,7 @@ export namespace DragManager { dragElement.style.opacity = "0.7"; dragElement.style.position = "absolute"; dragElement.style.transformOrigin = "0 0"; + dragElement.style.zIndex = "1000"; dragElement.style.transform = `translate(${x}px, ${y}px) scale(${scaleX}, ${scaleY})`; dragDiv.appendChild(dragElement); _lastPointerX = dragData["xOffset"] + rect.left; |