Skip to content

Commit 18ae46e

Browse files
committed
nuriloop: Enable alt+click for bgcolor input
1 parent 9a3e7df commit 18ae46e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/variety-common/MouseInput.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,14 @@ pzpr.classmgr.makeCommon({
10671067
}
10681068
},
10691069
mouseinputAutoPlay_lineMB: function() {
1070-
this.mouseinputAutoPlay_line(true);
1070+
if (this.mousestart) {
1071+
this.isDraggingBG = this.puzzle.key.isALT;
1072+
}
1073+
if (this.isDraggingBG) {
1074+
this.inputBGcolor();
1075+
} else {
1076+
this.mouseinputAutoPlay_line(true);
1077+
}
10711078
},
10721079

10731080
//---------------------------------------------------------------------------

0 commit comments

Comments
 (0)