fix bug 73667

This commit is contained in:
Konstantin Kireyev
2025-09-16 22:06:54 +05:00
parent c2f21a3aa2
commit 7aaacc63eb

View File

@ -379,7 +379,9 @@ define([
if (this.options.hold && ( e.keyCode==Common.UI.Keys.UP || e.keyCode==Common.UI.Keys.DOWN)) {
e.preventDefault();
e.stopPropagation();
if (this.switches.timeout===undefined) {
if (e.metaKey) {
this._step(e.keyCode === Common.UI.Keys.UP);
} else if (this.switches.timeout===undefined) {
this.switches.fromKeyDown = true;
this._startSpin(e.keyCode==Common.UI.Keys.UP, e);
}