Merge branch 'main' into test
This commit is contained in:
commit
8b83a4801b
|
@ -23,6 +23,7 @@ class Task {
|
||||||
generateTask() {
|
generateTask() {
|
||||||
this.retrieve_settings();
|
this.retrieve_settings();
|
||||||
this.success = false;
|
this.success = false;
|
||||||
|
|
||||||
if (this.chord) {
|
if (this.chord) {
|
||||||
this.generateChord();
|
this.generateChord();
|
||||||
} else {
|
} else {
|
||||||
|
@ -137,6 +138,7 @@ class Task {
|
||||||
if (Date.now() - this.starttime <= 500) {
|
if (Date.now() - this.starttime <= 500) {
|
||||||
console.log(this.solution);
|
console.log(this.solution);
|
||||||
console.log(this.activeKeys);
|
console.log(this.activeKeys);
|
||||||
|
|
||||||
this.result_success();
|
this.result_success();
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue