From c82e20cbe00a1d5686d527d8537f87925709a225 Mon Sep 17 00:00:00 2001 From: Qing Date: Wed, 11 Jan 2023 21:17:17 +0800 Subject: [PATCH] add back croper to paint_by_example model --- .../src/components/SidePanel/PESidePanel.tsx | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lama_cleaner/app/src/components/SidePanel/PESidePanel.tsx b/lama_cleaner/app/src/components/SidePanel/PESidePanel.tsx index e2799ba..6c1782b 100644 --- a/lama_cleaner/app/src/components/SidePanel/PESidePanel.tsx +++ b/lama_cleaner/app/src/components/SidePanel/PESidePanel.tsx @@ -68,6 +68,24 @@ const PESidePanel = () => { + { + setSettingState(old => { + return { ...old, showCroper: value } + }) + }} + > + + + } + /> + + + { }} /> - -