fx115: fix the itemBox rows stretching on menu open (#3898)

This commit is contained in:
windingwind 2024-03-29 18:15:50 +08:00 committed by Dan Stillman
parent 61ef16b9b7
commit 98ed686212

View file

@ -2385,7 +2385,7 @@
let isRightClick = event.type == 'contextmenu';
if (!isRightClick) {
event.target.style.visibility = "visible";
event.target.style.display = "block";
event.target.style.display = "revert";
}
// On click, we have x/y coordinates so use that
// On keyboard click, open it next to the target