mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
wip: Fix frame children coords when dragging position stats coords
This commit is contained in:
parent
a18b139a60
commit
7343285694
11 changed files with 246 additions and 368 deletions
|
@ -89,6 +89,12 @@ export const isFrameLikeElement = (
|
|||
);
|
||||
};
|
||||
|
||||
export const isFrameChildElement = (
|
||||
element: ExcalidrawElement | null,
|
||||
): element is ExcalidrawElement & { frameId: string } => {
|
||||
return element !== null && element.frameId !== null;
|
||||
};
|
||||
|
||||
export const isFreeDrawElement = (
|
||||
element?: ExcalidrawElement | null,
|
||||
): element is ExcalidrawFreeDrawElement => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue