Skip to content

Commit

Permalink
railpool: rendering quick-fix for more than four numbers in a clue
Browse files Browse the repository at this point in the history
  • Loading branch information
robx committed Nov 18, 2022
1 parent 556a11b commit 49411b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variety-common/Graphic.js
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ pzpr.classmgr.makeCommon({
for (var k = 0; k < 4; k++) {
g.fillStyle = this.getQuesNumberColor(cell, k);
g.vid = "cell_text_" + cell.id + "_" + k;
if (k < n && nums[k] !== -1) {
if (k < n && nums[k] !== -1 && n <= 4) {
var opt = opts[n - 1],
px = (bx + opt.pos[k].x) * bw,
py = (by + opt.pos[k].y) * bh;
Expand Down

1 comment on commit 49411b6

@vercel
Copy link

@vercel vercel bot commented on 49411b6 Nov 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pzprjs – ./

pzprjs-robx.vercel.app
pzprjs-git-main-robx.vercel.app
pzprjs.vercel.app

Please sign in to comment.