mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
narrow down roughness type
This commit is contained in:
parent
8a106dde57
commit
9f6e3c5a9d
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ type _ExcalidrawElementBase = Readonly<{
|
||||||
strokeWidth: number;
|
strokeWidth: number;
|
||||||
strokeStyle: StrokeStyle;
|
strokeStyle: StrokeStyle;
|
||||||
strokeSharpness: StrokeSharpness;
|
strokeSharpness: StrokeSharpness;
|
||||||
roughness: number;
|
roughness: 0 | 1 | 2;
|
||||||
opacity: number;
|
opacity: number;
|
||||||
width: number;
|
width: number;
|
||||||
height: number;
|
height: number;
|
||||||
|
|
|
@ -55,7 +55,7 @@ export type AppState = {
|
||||||
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
||||||
currentItemStrokeWidth: number;
|
currentItemStrokeWidth: number;
|
||||||
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
||||||
currentItemRoughness: number;
|
currentItemRoughness: ExcalidrawElement["roughness"];
|
||||||
currentItemOpacity: number;
|
currentItemOpacity: number;
|
||||||
currentItemFontFamily: FontFamily;
|
currentItemFontFamily: FontFamily;
|
||||||
currentItemFontSize: number;
|
currentItemFontSize: number;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue