Skip to content

Commit cd445c0

Browse files
committed
Add keypopup
1 parent d6966f2 commit cd445c0

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

src-ui/js/ui/KeyPopup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ ui.keypopup = {
245245
cornerch: [10, 0],
246246
keywest: [4, 4],
247247
oasis: [10, 0],
248-
bhaibahan: [10, 0]
248+
bhaibahan: [10, 0],
249+
edamame: [4, 0]
249250
},
250251

251252
//---------------------------------------------------------------------------

src/variety/kaidan.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@
4141
},
4242
mouseinput_auto: function() {
4343
if (this.puzzle.playmode) {
44+
if (this.mousestart) {
45+
this.isDraggingBG = this.pid === "edamame" && this.puzzle.key.isALT;
46+
}
47+
if (this.isDraggingBG) {
48+
this.inputBGcolor();
49+
return;
50+
}
51+
4452
if (this.btn === "right") {
4553
this.inputdragcross();
4654
} else {
@@ -195,7 +203,7 @@
195203
"MouseEvent@edamame#1": {
196204
RBShadeCell: false,
197205
inputModes: {
198-
edit: ["number", "shade", "clear"],
206+
edit: ["number", "undef", "clear"],
199207
play: [
200208
"line",
201209
"mark-circle",

0 commit comments

Comments
 (0)