1 parent fb6b9d7 commit 2601c06Copy full SHA for 2601c06
1 file changed
src/variety/soulmates.js
@@ -11,8 +11,14 @@
11
play: ["number", "numexist", "objblank", "clear"]
12
},
13
autoedit_func: "qnum",
14
- autoplay_func: "qnum",
15
-
+ mouseinputAutoPlay: function() {
+ if (this.btn === "right" && this.mousemove) {
16
+ this.inputDot();
17
+ } else if (this.mouseend && this.notInputted()) {
18
+ this.mouseCell = null;
19
+ this.inputqnum();
20
+ }
21
+ },
22
inputDot: function() {
23
this.inputFixedQsub(2);
24
}
@@ -50,11 +56,11 @@
50
56
51
57
52
58
prehook: {
53
- qsub: function() {
54
- return !this.isValid();
59
+ qsub: function(num) {
60
+ return num && (this.isEmpty() || this.isNum());
55
61
- anum: function() {
62
+ anum: function(num) {
63
+ return num !== -1 && this.isEmpty();
64
65
66
0 commit comments