diff --git a/src/routes/repo/[projectId]/dropZone.ts b/src/routes/repo/[projectId]/dropZone.ts index b5197cf2d..29668a449 100644 --- a/src/routes/repo/[projectId]/dropZone.ts +++ b/src/routes/repo/[projectId]/dropZone.ts @@ -65,7 +65,7 @@ export function dzTrigger(node: HTMLElement, opts: Partial | undefine const inner = clone.children[0] as HTMLElement; inner.style.height = node.clientHeight + 'px'; inner.style.width = node.clientWidth + 'px'; - inner.style.rotate = '5deg'; + inner.style.rotate = `${Math.floor(Math.random() * 3)}deg`; document.body.appendChild(clone); // Dim the original element while dragging