Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
x-sheep committed Aug 30, 2023
1 parent 0e08fdc commit 9b5bb42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/variety/shimaguni.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
enableplay: true,
keyinput: function(ca) {
if (
this.puzzle.playmode &&
this.puzzle.editmode ||
this.puzzle.mouse.inputMode.indexOf("number") !== -1
) {
this.key_inputqnum(ca);
Expand Down
5 changes: 5 additions & 0 deletions test/script/shimaguni.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ ui.debug.addDebugData("shimaguni", {
result:
"pzprv3/shimaguni/4/4/8/0 0 1 1 /2 2 3 3 /4 4 5 5 /6 6 7 7 /- . 2 . /1 . 1 . /2 . - . /. . . . /. . . . /. . . . /. . . . /. . . . /"
},
{
input: ["cursor,7,7", "key,2"],
result:
"pzprv3/shimaguni/4/4/8/0 0 1 1 /2 2 3 3 /4 4 5 5 /6 6 7 7 /- . 2 . /1 . 1 . /2 . - . /. . 2 . /. . . . /. . . . /. . . . /. . . . /"
},
{
input: [
"newboard,2,2",
Expand Down

0 comments on commit 9b5bb42

Please sign in to comment.