mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Move element canvas buttons
This commit is contained in:
parent
21ffaf4d76
commit
096a1233a6
3 changed files with 6 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue