Flat block rendering to match §13 palette exactly
블록 하단 베벨 띠 제거 → 조각이 §13 확정 hex 색 그대로 완전 플랫하게 렌더. 목업 픽셀 대조로 조각·UI 색상이 명세서 §13과 100% 일치함을 확인.
This commit is contained in:
@@ -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([]);
|
ctx.setLineDash([4,3]); ctx.strokeRect(sx+2,sy+2,cell-4,cell-4); ctx.setLineDash([]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// 플랫 (§13): 단색 채움 + INK 하드 보더, 그라디언트/베벨 없음
|
||||||
ctx.fillStyle=color; ctx.fillRect(sx,sy,cell,cell);
|
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);
|
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];
|
const boardXY = (x,y)=>[x*CELL,(VIS-1-y)*CELL];
|
||||||
|
|||||||
@@ -160,8 +160,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([]);
|
ctx.setLineDash([4,3]); ctx.strokeRect(sx+2,sy+2,cell-4,cell-4); ctx.setLineDash([]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// 플랫 (§13): 단색 채움 + INK 하드 보더, 그라디언트/베벨 없음
|
||||||
ctx.fillStyle=color; ctx.fillRect(sx,sy,cell,cell);
|
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);
|
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];
|
const boardXY = (x,y)=>[x*CELL,(VIS-1-y)*CELL];
|
||||||
|
|||||||
Reference in New Issue
Block a user