mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Fix menu navigation issue on touch devices
This commit is contained in:
parent
4b1ec0ac67
commit
45fe2a810b
@ -436,7 +436,7 @@ class Menu {
|
||||
if (child_count !== 0 || typeof s.click === 'function') {
|
||||
parent.append(entry)
|
||||
}
|
||||
entry.addEventListener('mouseenter', (e) => {
|
||||
addEventListeners(entry, 'mouseenter mouseover', (e) => {
|
||||
scope.hover(entry, e);
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user