Skip to content

Commit

Permalink
Remove isforceforward from inputBGcolor
Browse files Browse the repository at this point in the history
  • Loading branch information
x-sheep committed Aug 7, 2023
1 parent 5823c51 commit b47210d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/puzzle/MouseInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ pzpr.classmgr.makeCommon({
this.inputFixedNumber(-3);
break;
case "bgcolor":
this.inputBGcolor(true);
this.inputBGcolor();
break;
case "subcircle":
case "bgcolor1":
Expand Down
4 changes: 2 additions & 2 deletions src/variety-common/MouseInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ pzpr.classmgr.makeCommon({
cell.draw();
this.mouseCell = cell;
},
inputBGcolor: function(isforceforward) {
inputBGcolor: function() {
var cell = this.getcell();
if (cell.isnull || cell.is51cell() || cell === this.mouseCell) {
return;
Expand All @@ -353,7 +353,7 @@ pzpr.classmgr.makeCommon({
this.inputMode = cell.qsub !== 1 ? 11 : 10;
} else if (this.inputMode === "bgcolor2") {
this.inputMode = cell.qsub !== 2 ? 12 : 10;
} else if (isforceforward || this.btn === "left") {
} else if (this.btn === "left") {
if (cell.qsub === 0) {
this.inputData = 11;
} else if (cell.qsub === 1) {
Expand Down

1 comment on commit b47210d

@vercel
Copy link

@vercel vercel bot commented on b47210d Aug 7, 2023

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-git-main-robx.vercel.app
pzprjs-robx.vercel.app
pzprjs.vercel.app

Please sign in to comment.