mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Improved hover state hover logic
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user