From 77e64e86f1d1a5335c7b2361a4f86dada7e5ac47 Mon Sep 17 00:00:00 2001 From: Qing Date: Thu, 15 Feb 2024 14:33:16 +0800 Subject: [PATCH] decrease the brush size limit --- web_app/src/components/Editor.tsx | 2 +- web_app/src/components/SidePanel/DiffusionOptions.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_app/src/components/Editor.tsx b/web_app/src/components/Editor.tsx index 961300f..2e15986 100644 --- a/web_app/src/components/Editor.tsx +++ b/web_app/src/components/Editor.tsx @@ -32,7 +32,7 @@ import useHotKey from "@/hooks/useHotkey" import Extender from "./Extender" const TOOLBAR_HEIGHT = 200 -const MIN_BRUSH_SIZE = 10 +const MIN_BRUSH_SIZE = 5 const MAX_BRUSH_SIZE = 200 const COMPARE_SLIDER_DURATION_MS = 300 diff --git a/web_app/src/components/SidePanel/DiffusionOptions.tsx b/web_app/src/components/SidePanel/DiffusionOptions.tsx index 461f6e1..c5702d2 100644 --- a/web_app/src/components/SidePanel/DiffusionOptions.tsx +++ b/web_app/src/components/SidePanel/DiffusionOptions.tsx @@ -824,7 +824,7 @@ const DiffusionOptions = () => { >
{/* */} - expand + Expand