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;
|
||||
strokeStyle: StrokeStyle;
|
||||
strokeSharpness: StrokeSharpness;
|
||||
roughness: number;
|
||||
roughness: 0 | 1 | 2;
|
||||
opacity: number;
|
||||
width: number;
|
||||
height: number;
|
||||
|
|
|
@ -55,7 +55,7 @@ export type AppState = {
|
|||
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
||||
currentItemStrokeWidth: number;
|
||||
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
||||
currentItemRoughness: number;
|
||||
currentItemRoughness: ExcalidrawElement["roughness"];
|
||||
currentItemOpacity: number;
|
||||
currentItemFontFamily: FontFamily;
|
||||
currentItemFontSize: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue