mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Further revert refactor
This commit is contained in:
parent
9ab7e55377
commit
1f97420475
7 changed files with 13 additions and 7 deletions
|
@ -11,9 +11,10 @@ import type Scene from "@excalidraw/element/Scene";
|
|||
|
||||
import { angleIcon } from "../icons";
|
||||
|
||||
import DragInput, { type DragInputCallbackType } from "./DragInput";
|
||||
import DragInput from "./DragInput";
|
||||
import { getStepSizedValue, isPropertyEditable, updateBindings } from "./utils";
|
||||
|
||||
import type { DragInputCallbackType } from "./DragInput";
|
||||
import type { AppState } from "../../types";
|
||||
|
||||
interface AngleProps {
|
||||
|
|
|
@ -12,9 +12,10 @@ import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|||
|
||||
import type Scene from "@excalidraw/element/Scene";
|
||||
|
||||
import DragInput, { type DragInputCallbackType } from "./DragInput";
|
||||
import DragInput from "./DragInput";
|
||||
import { getStepSizedValue, isPropertyEditable } from "./utils";
|
||||
|
||||
import type { DragInputCallbackType } from "./DragInput";
|
||||
import type { AppState } from "../../types";
|
||||
|
||||
interface DimensionDragInputProps {
|
||||
|
|
|
@ -16,9 +16,10 @@ import type Scene from "@excalidraw/element/Scene";
|
|||
|
||||
import { fontSizeIcon } from "../icons";
|
||||
|
||||
import StatsDragInput, { type DragInputCallbackType } from "./DragInput";
|
||||
import StatsDragInput from "./DragInput";
|
||||
import { getStepSizedValue } from "./utils";
|
||||
|
||||
import type { DragInputCallbackType } from "./DragInput";
|
||||
import type { AppState } from "../../types";
|
||||
|
||||
interface FontSizeProps {
|
||||
|
|
|
@ -13,9 +13,10 @@ import type Scene from "@excalidraw/element/Scene";
|
|||
|
||||
import { angleIcon } from "../icons";
|
||||
|
||||
import DragInput, { type DragInputCallbackType } from "./DragInput";
|
||||
import DragInput from "./DragInput";
|
||||
import { getStepSizedValue, isPropertyEditable } from "./utils";
|
||||
|
||||
import type { DragInputCallbackType } from "./DragInput";
|
||||
import type { AppState } from "../../types";
|
||||
|
||||
interface MultiAngleProps {
|
||||
|
|
|
@ -24,10 +24,11 @@ import type {
|
|||
|
||||
import type Scene from "@excalidraw/element/Scene";
|
||||
|
||||
import DragInput, { type DragInputCallbackType } from "./DragInput";
|
||||
import DragInput from "./DragInput";
|
||||
import { getAtomicUnits, getStepSizedValue, isPropertyEditable } from "./utils";
|
||||
import { getElementsInAtomicUnit } from "./utils";
|
||||
|
||||
import type { DragInputCallbackType } from "./DragInput";
|
||||
import type { AtomicUnit } from "./utils";
|
||||
import type { AppState } from "../../types";
|
||||
|
||||
|
|
|
@ -19,9 +19,10 @@ import type Scene from "@excalidraw/element/Scene";
|
|||
|
||||
import { fontSizeIcon } from "../icons";
|
||||
|
||||
import StatsDragInput, { type DragInputCallbackType } from "./DragInput";
|
||||
import StatsDragInput from "./DragInput";
|
||||
import { getStepSizedValue } from "./utils";
|
||||
|
||||
import type { DragInputCallbackType } from "./DragInput";
|
||||
import type { AppState } from "../../types";
|
||||
|
||||
interface MultiFontSizeProps {
|
||||
|
|
|
@ -10,8 +10,8 @@ import type Scene from "@excalidraw/element/Scene";
|
|||
import StatsDragInput from "./DragInput";
|
||||
import { handlePositionChange } from "./utils";
|
||||
|
||||
import type { AppState } from "../../types";
|
||||
import type { AtomicUnit } from "./utils";
|
||||
import type { AppState } from "../../types";
|
||||
|
||||
interface MultiPositionProps {
|
||||
property: "x" | "y";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue