Improved hover state hover logic

This commit is contained in:
bigguy345 committed 2025-12-26 18:15:13 +02:00
1 parent a4692388a8
commit 2c645beddf
2 files changed
+3 -2

No files matched your search

@@ -1020,7 +1020,7 @@ public class GuiScriptTextArea extends GuiNpcTextField {
*/
private void updateHoverState(int xMouse, int yMouse) {
// Don't show tooltips when not active, clicking, or when overlays are visible
if (!active || !isEnabled() || clicked || searchBar.isVisible() ||
if (!isEnabled() || clicked || searchBar.isVisible() ||
goToLineDialog.isVisible() || KEYS_OVERLAY.isVisible() || renameHandler.isActive()) {
hoverState.clearHover();
return;