Flat block rendering to match §13 palette exactly

블록 하단 베벨 띠 제거 → 조각이 §13 확정 hex 색 그대로 완전 플랫하게 렌더.
목업 픽셀 대조로 조각·UI 색상이 명세서 §13과 100% 일치함을 확인.
This commit is contained in:
tkrmagid
2026-08-22 11:27:54 +09:00
parent f026fc3d07
commit 2f8c367537
2 changed files with 2 additions and 2 deletions

View File

@@ -515,8 +515,8 @@ function drawCell(ctx, sx, sy, color, ghost, cell=CELL){
ctx.setLineDash([4,3]); ctx.strokeRect(sx+2,sy+2,cell-4,cell-4); ctx.setLineDash([]);
return;
}
// 플랫 (§13): 단색 채움 + INK 하드 보더, 그라디언트/베벨 없음
ctx.fillStyle=color; ctx.fillRect(sx,sy,cell,cell);
ctx.fillStyle='rgba(23,22,27,.35)'; ctx.fillRect(sx,sy+cell-4,cell,4);
ctx.strokeStyle='#17161B'; ctx.lineWidth=2; ctx.strokeRect(sx+1,sy+1,cell-2,cell-2);
}
const boardXY = (x,y)=>[x*CELL,(VIS-1-y)*CELL];