Trim comments

This commit is contained in:
KAMKEEL committed 2026-08-11 11:32:01 -04:00
1 parent f175e3fb82
commit 98c94bd406
32 files changed
+13 -137

No files matched your search

@@ -624,8 +624,6 @@ public class GuiScriptTextArea extends GuiNpcTextField {
int maxScroll = Math.max(0, getPaddedLineCount() - container.visibleLines);
// Handle mouse wheel scroll
// Take whatever the parent screen has left for this frame rather than polling the wheel
// again - the poll is destructive and the parent has already drained it.
int wheelDelta = listener instanceof GuiNPCInterface ? ((GuiNPCInterface) listener).mouseScroll : Mouse.getDWheel();
if (listener instanceof GuiNPCInterface) {
((GuiNPCInterface) listener).mouseScroll = 0;