mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
rewrite wysiwyg property updating (#1387)
* rewrite wysiwyg property updating * reuse existing class * fix case of focus being stolen by other UIs * revert mistake csp removal * ensure we don't run cleanup twice * fix opacity updating * add shape actions menu class to constants
This commit is contained in:
parent
d79c859cd9
commit
6771b505ad
9 changed files with 73 additions and 80 deletions
|
@ -4,7 +4,6 @@ import {
|
|||
NonDeletedExcalidrawElement,
|
||||
NonDeleted,
|
||||
TextAlign,
|
||||
WysiwigElement,
|
||||
} from "./element/types";
|
||||
import { SHAPES } from "./shapes";
|
||||
import { Point as RoughPoint } from "roughjs/bin/geometry";
|
||||
|
@ -14,7 +13,6 @@ export type FlooredNumber = number & { _brand: "FlooredNumber" };
|
|||
export type Point = Readonly<RoughPoint>;
|
||||
|
||||
export type AppState = {
|
||||
wysiwygElement: WysiwigElement | null;
|
||||
isLoading: boolean;
|
||||
errorMessage: string | null;
|
||||
draggingElement: NonDeletedExcalidrawElement | null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue