Half done

This commit is contained in:
Mark Tolmacs 2025-03-28 20:41:26 +01:00
parent ff57dd60d8
commit 5af4500bbc
5 changed files with 222 additions and 83 deletions

View file

@ -7,7 +7,6 @@ import {
} from "@excalidraw/math";
import type {
ExcalidrawBindableElement,
ExcalidrawElement,
FontFamilyValues,
FontString,
@ -559,9 +558,6 @@ export const isTransparent = (color: string) => {
);
};
export const isBindingFallthroughEnabled = (el: ExcalidrawBindableElement) =>
el.fillStyle !== "solid" || isTransparent(el.backgroundColor);
export type ResolvablePromise<T> = Promise<T> & {
resolve: [T] extends [undefined]
? (value?: MaybePromise<Awaited<T>>) => void