Move element canvas buttons

This commit is contained in:
Marcel Mraz 2025-03-13 12:39:15 +01:00
parent 21ffaf4d76
commit 096a1233a6
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
3 changed files with 6 additions and 4 deletions

View file

@ -352,7 +352,7 @@ import {
setCursorForShape,
} from "../cursor";
import { Emitter } from "../emitter";
import { ElementCanvasButtons } from "../element/ElementCanvasButtons";
import { ElementCanvasButtons } from "../components/ElementCanvasButtons";
import { COLOR_PALETTE } from "../colors";
import { Store, CaptureUpdateAction } from "../store";
import { AnimatedTrail } from "../animated-trail";

View file

@ -1,13 +1,15 @@
import { useExcalidrawAppState } from "../components/App";
import { sceneCoordsToViewportCoords } from "../utils";
import { getElementAbsoluteCoords } from "../element";
import "./ElementCanvasButtons.scss";
import { getElementAbsoluteCoords } from ".";
import type { AppState } from "../types";
import type { ElementsMap, NonDeletedExcalidrawElement } from "./types";
import type {
ElementsMap,
NonDeletedExcalidrawElement,
} from "../element/types";
const CONTAINER_PADDING = 5;