mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
disabled hover state click
This commit is contained in:
1 parent
a5ab3cb443
commit
58e2b4f591
1 file changed
+1
-1
@@ -151,7 +151,7 @@ public class HoverState {
|
||||
public void update(int mouseX, int mouseY, Token token, int tokenX, int tokenY, int tokenW) {
|
||||
lastMouseX = mouseX;
|
||||
lastMouseY = mouseY;
|
||||
clickToPinEnabled=true;
|
||||
clickToPinEnabled=false;
|
||||
// If a token has been pinned by click, ignore mouse movement updates
|
||||
if (pinnedToken != null) {
|
||||
// keep pinned tooltip visible
|
||||
|
||||
Reference in new issue
Block a user