Consume The Scroll Event

This commit is contained in:
Konloch 2021-07-18 23:50:09 -07:00
parent 18c0607c8e
commit 902eaf6b7c
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ public class SearchableRSyntaxTextArea extends RSyntaxTextArea
setFont(new Font(font.getName(), font.getStyle(), --size >= 2 ? --size : 2));
else //Down
setFont(new Font(font.getName(), font.getStyle(), ++size));
e.consume();
}
else if(ogListener != null)
{