mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-03 07:37:04 +02:00
fix: stale appState.pendingImageElement
(#5322)
* fix: stale `appState.pendingImageElement` * unrelated fix for devTools race conditions * snap fix
This commit is contained in:
@@ -176,7 +176,7 @@ export type AppState = {
|
||||
data: Spreadsheet;
|
||||
};
|
||||
/** imageElement waiting to be placed on canvas */
|
||||
pendingImageElement: NonDeleted<ExcalidrawImageElement> | null;
|
||||
pendingImageElementId: ExcalidrawImageElement["id"] | null;
|
||||
showHyperlinkPopup: false | "info" | "editor";
|
||||
};
|
||||
|
||||
@@ -378,6 +378,7 @@ export type AppClassProperties = {
|
||||
>;
|
||||
files: BinaryFiles;
|
||||
deviceType: App["deviceType"];
|
||||
scene: App["scene"];
|
||||
};
|
||||
|
||||
export type PointerDownState = Readonly<{
|
||||
|
Reference in New Issue
Block a user