mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-23 14:14:22 +01:00
Compare commits
2 Commits
master
...
ryan-di/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbf4d5a591 | ||
|
|
38d0966227 |
@@ -22,8 +22,8 @@ import {
|
|||||||
isLineSegment,
|
isLineSegment,
|
||||||
type GlobalPoint,
|
type GlobalPoint,
|
||||||
type LineSegment,
|
type LineSegment,
|
||||||
|
isCurve,
|
||||||
} from "@excalidraw/math";
|
} from "@excalidraw/math";
|
||||||
import { isCurve } from "@excalidraw/math/curve";
|
|
||||||
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
|
|||||||
@@ -11,12 +11,9 @@ import {
|
|||||||
vectorFromPoint,
|
vectorFromPoint,
|
||||||
vectorNormalize,
|
vectorNormalize,
|
||||||
vectorScale,
|
vectorScale,
|
||||||
} from "@excalidraw/math";
|
|
||||||
|
|
||||||
import {
|
|
||||||
ellipse,
|
ellipse,
|
||||||
ellipseSegmentInterceptPoints,
|
ellipseSegmentInterceptPoints,
|
||||||
} from "@excalidraw/math/ellipse";
|
} from "@excalidraw/math";
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
Curve,
|
Curve,
|
||||||
|
|||||||
@@ -2,10 +2,10 @@ import {
|
|||||||
curvePointDistance,
|
curvePointDistance,
|
||||||
distanceToLineSegment,
|
distanceToLineSegment,
|
||||||
pointRotateRads,
|
pointRotateRads,
|
||||||
|
ellipse,
|
||||||
|
ellipseDistanceFromPoint,
|
||||||
} from "@excalidraw/math";
|
} from "@excalidraw/math";
|
||||||
|
|
||||||
import { ellipse, ellipseDistanceFromPoint } from "@excalidraw/math/ellipse";
|
|
||||||
|
|
||||||
import type { GlobalPoint, Radians } from "@excalidraw/math";
|
import type { GlobalPoint, Radians } from "@excalidraw/math";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1575,8 +1575,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
translate="no"
|
className={clsx("excalidraw excalidraw-container", {
|
||||||
className={clsx("excalidraw excalidraw-container notranslate", {
|
|
||||||
"excalidraw--view-mode":
|
"excalidraw--view-mode":
|
||||||
this.state.viewModeEnabled ||
|
this.state.viewModeEnabled ||
|
||||||
this.state.openDialog?.name === "elementLinkSelector",
|
this.state.openDialog?.name === "elementLinkSelector",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import { getBoundTextElementId } from "@excalidraw/element";
|
|||||||
|
|
||||||
import type { Bounds } from "@excalidraw/element";
|
import type { Bounds } from "@excalidraw/element";
|
||||||
|
|
||||||
import type { GlobalPoint, LineSegment } from "@excalidraw/math/types";
|
import type { GlobalPoint, LineSegment } from "@excalidraw/math";
|
||||||
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
|
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
|
||||||
|
|
||||||
import { AnimatedTrail } from "../animated-trail";
|
import { AnimatedTrail } from "../animated-trail";
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import {
|
|||||||
intersectElementWithLineSegment,
|
intersectElementWithLineSegment,
|
||||||
} from "@excalidraw/element";
|
} from "@excalidraw/element";
|
||||||
|
|
||||||
import type { ElementsSegmentsMap, GlobalPoint } from "@excalidraw/math/types";
|
import type { ElementsSegmentsMap, GlobalPoint } from "@excalidraw/math";
|
||||||
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
|
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
|
||||||
|
|
||||||
export const getLassoSelectedElementIds = (input: {
|
export const getLassoSelectedElementIds = (input: {
|
||||||
|
|||||||
Reference in New Issue
Block a user