mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Decreased double click capture time window for more realistic capture
This commit is contained in:
1 parent
ca6409e3e5
commit
678c32e2da
1 file changed
+1
-1
@@ -1408,7 +1408,7 @@ public class GuiScriptTextArea extends GuiNpcTextField {
|
||||
if (this.clicked && this.container.linesCount * this.container.lineHeight > this.height && xMouse > this.x + this.width - 8) {
|
||||
this.clicked = false;
|
||||
this.clickScrolling = true;
|
||||
} else if (time - this.lastClicked < 500L) {
|
||||
} else if (time - this.lastClicked < 300L) {
|
||||
this.doubleClicked = true;
|
||||
// On double-click select the entire line under the cursor
|
||||
for (LineData line : container.lines) {
|
||||
|
||||
Reference in new issue
Block a user