Merge branch 'fe/fix/canvas-size' into 'fe/develop'

Fix: 캔버스 사이즈 수정

See merge request s11-s-project/S11P21S002!173
This commit is contained in:
정현조 2024-09-25 14:18:41 +09:00
commit eec3d67376

View File

@ -20,7 +20,7 @@ export default function ImageCanvas() {
const selectedLabelId = useCanvasStore((state) => state.selectedLabelId);
const setSelectedLabelId = useCanvasStore((state) => state.setSelectedLabelId);
const sidebarSize = useCanvasStore((state) => state.sidebarSize);
const stageWidth = window.innerWidth * ((100 - sidebarSize) / 100) - 280;
const stageWidth = window.innerWidth * ((100 - sidebarSize) / 100) - 200;
const stageHeight = window.innerHeight - 64;
const stageRef = useRef<Konva.Stage>(null);
const dragLayerRef = useRef<Konva.Layer>(null);