From b6309ea6a8d099a1fdd20e11050f641a8553f9bf Mon Sep 17 00:00:00 2001 From: nalpari Date: Mon, 8 Jul 2024 14:07:22 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=B2=84=ED=8A=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NextUI 사용 --- src/components/Roof2.jsx | 148 ++++++++++++++------------------------- 1 file changed, 54 insertions(+), 94 deletions(-) diff --git a/src/components/Roof2.jsx b/src/components/Roof2.jsx index 77a5fd38..bb4ba7ae 100644 --- a/src/components/Roof2.jsx +++ b/src/components/Roof2.jsx @@ -1,6 +1,7 @@ import { useCanvas } from '@/hooks/useCanvas' import { useEffect, useState } from 'react' import { Mode, useMode } from '@/hooks/useMode' +import { Button } from '@nextui-org/react' import QRect from '@/components/fabric/QRect' import QLine from '@/components/fabric/QLine' import QPolygon from '@/components/fabric/QPolygon' @@ -170,139 +171,98 @@ export default function Roof2() { {canvas && ( <>
- - - - - - - + - + - + - + - + + 현재 줌 : {zoom}% - - + - + - - - + - + - + +