narrow down roughness type
This commit is contained in:
parent
8a106dde57
commit
9f6e3c5a9d
@ -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…
x
Reference in New Issue
Block a user