Fix: 캔버스 사이즈 수정
This commit is contained in:
parent
e297980ab3
commit
d6f47abb54
@ -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