优化模块组织
重构Transform类型路径
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import type { Transform } from '../types';
|
||||
import type { Transform } from '../../types/Transform';
|
||||
import { tf2css } from './tf2css';
|
||||
|
||||
const STRETCH_TRANSFORM: Transform = {
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import type { CSSProperties } from 'react';
|
||||
|
||||
import type { Transform } from '../types';
|
||||
import type { Transform } from '../../types/Transform';
|
||||
|
||||
type TransformVectorField = keyof Transform;
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import {
|
||||
} from 'lucide-react';
|
||||
import { useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
import type { Transform } from '../types';
|
||||
import type { Transform } from '../../../../../features/ui-editor/types/Transform';
|
||||
|
||||
export type TransformEditorParentSize = {
|
||||
width: number;
|
||||
Reference in New Issue
Block a user