Merge branch 'fe/fix/canvas-size' into 'fe/develop'
Fix: 캔버스 사이즈 수정 See merge request s11-s-project/S11P21S002!173
This commit is contained in:
commit
eec3d67376
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user