|
|
@ -95,7 +95,7 @@ import { register } from "./register";
|
|
|
|
|
|
|
|
|
|
|
|
const FONT_SIZE_RELATIVE_INCREASE_STEP = 0.1;
|
|
|
|
const FONT_SIZE_RELATIVE_INCREASE_STEP = 0.1;
|
|
|
|
|
|
|
|
|
|
|
|
const changeProperty = (
|
|
|
|
export const changeProperty = (
|
|
|
|
elements: readonly ExcalidrawElement[],
|
|
|
|
elements: readonly ExcalidrawElement[],
|
|
|
|
appState: AppState,
|
|
|
|
appState: AppState,
|
|
|
|
callback: (element: ExcalidrawElement) => ExcalidrawElement,
|
|
|
|
callback: (element: ExcalidrawElement) => ExcalidrawElement,
|
|
|
@ -118,7 +118,7 @@ const changeProperty = (
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const getFormValue = function <T>(
|
|
|
|
export const getFormValue = function <T>(
|
|
|
|
elements: readonly ExcalidrawElement[],
|
|
|
|
elements: readonly ExcalidrawElement[],
|
|
|
|
appState: AppState,
|
|
|
|
appState: AppState,
|
|
|
|
getAttribute: (element: ExcalidrawElement) => T,
|
|
|
|
getAttribute: (element: ExcalidrawElement) => T,
|
|
|
|