wip
This commit is contained in:
@@ -6,8 +6,8 @@ import { useDraggable } from "@dnd-kit/core";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { nearestMultiple } from "./utils";
|
||||
import PreviewStore from "@/stores/previewStore";
|
||||
import Logo from "../Logo";
|
||||
import Text from "../Text";
|
||||
import Logo from "../../widgets/Logo";
|
||||
import Text from "../../widgets/Text";
|
||||
|
||||
export default function Draggable(props: DraggablePropsType) {
|
||||
const targetRef = useRef<HTMLDivElement>(null);
|
||||
@@ -78,7 +78,7 @@ export default function Draggable(props: DraggablePropsType) {
|
||||
...style,
|
||||
}} {...attributes}>
|
||||
<button
|
||||
className="btn absolute top-1 right-1 z-50 btn-square btn-soft"
|
||||
className="btn absolute top-1 right-1 z-40 btn-square btn-soft"
|
||||
{...listeners}
|
||||
onMouseDown={(e) => e.stopPropagation()}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user