mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add stats for nerds (#2453)
Co-authored-by: David Luzar <luzar.david@gmail.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
5cdb9bd2ed
commit
dd993adc5c
15 changed files with 361 additions and 33 deletions
|
@ -64,6 +64,7 @@ export const actionClearCanvas = register({
|
|||
exportEmbedScene: appState.exportEmbedScene,
|
||||
gridSize: appState.gridSize,
|
||||
shouldAddWatermark: appState.shouldAddWatermark,
|
||||
showStats: appState.showStats,
|
||||
},
|
||||
commitToHistory: true,
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
import {
|
||||
getCommonAttributeOfSelectedElements,
|
||||
isSomeElementSelected,
|
||||
getTargetElement,
|
||||
getTargetElements,
|
||||
canChangeSharpness,
|
||||
} from "../scene";
|
||||
import { ButtonSelect } from "../components/ButtonSelect";
|
||||
|
@ -561,7 +561,7 @@ export const actionChangeTextAlign = register({
|
|||
export const actionChangeSharpness = register({
|
||||
name: "changeSharpness",
|
||||
perform: (elements, appState, value) => {
|
||||
const targetElements = getTargetElement(
|
||||
const targetElements = getTargetElements(
|
||||
getNonDeletedElements(elements),
|
||||
appState,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue