Make hover target for menu button more reasonable
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
if (popover) {
|
if (popover) {
|
||||||
const {x, y, width, height} = popover.popper.getBoundingClientRect()
|
const {x, y, width, height} = popover.popper.getBoundingClientRect()
|
||||||
|
|
||||||
if (!between([x, x + width], clientX) || !between([y, y + height + 30], clientY)) {
|
if (!between([x, x + width], clientX) || !between([y - 50, y + height + 50], clientY)) {
|
||||||
popover.hide()
|
popover.hide()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user