리사이즈 핸들러 오류 수정

This commit is contained in:
dohyeons 2025-10-16 10:09:10 +09:00
parent ed9da3962a
commit 337cc448d0
1 changed files with 2 additions and 2 deletions

View File

@ -229,8 +229,8 @@ export function CanvasElement({
// 최소 크기 설정: 달력은 2x3, 나머지는 2x2
const minWidthCells = 2;
const minHeightCells = element.type === "widget" && element.subtype === "calendar" ? 3 : 2;
const minWidth = GRID_CONFIG.CELL_SIZE * minWidthCells;
const minHeight = GRID_CONFIG.CELL_SIZE * minHeightCells;
const minWidth = cellSize * minWidthCells;
const minHeight = cellSize * minHeightCells;
switch (resizeStart.handle) {
case "se": // 오른쪽 아래