Hides math element walking behind shift.
This commit is contained in:
parent
faeae3e105
commit
f73453512b
|
@ -545,6 +545,7 @@
|
|||
MENU.posted = false;
|
||||
},
|
||||
MoveHorizontal: function(event, menu, move) {
|
||||
if (!event.shiftKey) { return; }
|
||||
var jaxs = MENU.AllNodes();
|
||||
var len = jaxs.length;
|
||||
if (len === 0) {
|
||||
|
@ -734,6 +735,7 @@
|
|||
MoveHorizontal: function(event, item, move, rtl) {
|
||||
var menuNode = ITEM.GetMenuNode(item);
|
||||
if (menuNode.menuItem === MENU.menu) {
|
||||
if (!event.shiftKey) { return; }
|
||||
move(event, item);
|
||||
}
|
||||
if (rtl) { return; }
|
||||
|
@ -869,13 +871,13 @@
|
|||
this.SUPER(arguments).MoveVertical.apply(this, arguments);
|
||||
},
|
||||
MoveHorizontal: function(event, menu, move, rtl) {
|
||||
if (this.disabled) {
|
||||
return;
|
||||
}
|
||||
if (!rtl) {
|
||||
this.SUPER(arguments).MoveHorizontal.apply(this, arguments);
|
||||
return;
|
||||
}
|
||||
if (this.disabled) {
|
||||
return;
|
||||
}
|
||||
var submenuNodes = ITEM.GetMenuNode(menu).nextSibling.childNodes;
|
||||
if (submenuNodes.length > 0) {
|
||||
this.submenu.items[0].Activate(event, submenuNodes[0]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user