tidy(ui): remove unused perfect-freehand options from brush state

This commit is contained in:
psychedelicious
2024-10-02 11:22:05 +10:00
committed by Kent Keirsey
parent 4a135c1017
commit 43b417be6b

View File

@@ -118,9 +118,6 @@ const zCanvasBrushLineWithPressureState = z.object({
type: z.literal('brush_line_with_pressure'),
strokeWidth: z.number().min(1),
points: zPointsWithPressure,
// thinning: z.number().min(0).max(1),
// streamline: z.number().min(0).max(1),
// smoothing: z.number().min(0).max(1),
color: zRgbaColor,
clip: zRect.nullable(),
});
@@ -140,9 +137,6 @@ const zCanvasEraserLineWithPressureState = z.object({
type: z.literal('eraser_line_with_pressure'),
strokeWidth: z.number().min(1),
points: zPointsWithPressure,
// thinning: z.number().min(0).max(1),
// streamline: z.number().min(0).max(1),
// smoothing: z.number().min(0).max(1),
clip: zRect.nullable(),
});
export type CanvasEraserLineWithPressureState = z.infer<typeof zCanvasEraserLineWithPressureState>;