mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
tidy(ui): remove unused perfect-freehand options from brush state
This commit is contained in:
committed by
Kent Keirsey
parent
4a135c1017
commit
43b417be6b
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user