This commit is contained in:
2025-11-13 02:49:37 +01:00
parent 1e740ea024
commit 6fe7bbbbb5
7 changed files with 0 additions and 88 deletions
@@ -7,13 +7,6 @@ import DesktopWorkspace from './DesktopWorkspace';
type WorkspaceProps = Record<string, any>;
interface Breadcrumb {
id?: string | number;
name?: string;
label?: string;
title?: string;
}
interface DetailProps extends Record<string, any> {
onClose?: () => void;
onOpenPreview?: () => void;
@@ -23,8 +16,6 @@ interface DetailProps extends Record<string, any> {
interface CreateDesktopSurfaceArgs {
workspaceProps?: WorkspaceProps | null;
renderSidebarToggle?: () => ReactNode;
parentBreadcrumb?: Breadcrumb | null;
onNavigateParent?: () => void;
detailProps?: DetailProps | null;
detailOpen?: boolean;
}
@@ -32,8 +23,6 @@ interface CreateDesktopSurfaceArgs {
const createDesktopSurface = ({
workspaceProps,
renderSidebarToggle,
parentBreadcrumb,
onNavigateParent,
detailProps = null,
detailOpen = false,
}: CreateDesktopSurfaceArgs) => {
-1
View File
@@ -456,7 +456,6 @@ const useDocumentDrag = (options: UseDocumentDragOptions) => {
const baseOffsetX = itemCenterX - centerX;
const baseOffsetY = itemCenterY - centerY;
const initialRotation = itemEntry?.rotation ?? 0;
const targetRotation = initialRotation;
return {
docId: id,
width: itemWidth,