Consume The Scroll Event
This commit is contained in:
parent
18c0607c8e
commit
902eaf6b7c
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,8 @@ public class SearchableRSyntaxTextArea extends RSyntaxTextArea
|
||||||
setFont(new Font(font.getName(), font.getStyle(), --size >= 2 ? --size : 2));
|
setFont(new Font(font.getName(), font.getStyle(), --size >= 2 ? --size : 2));
|
||||||
else //Down
|
else //Down
|
||||||
setFont(new Font(font.getName(), font.getStyle(), ++size));
|
setFont(new Font(font.getName(), font.getStyle(), ++size));
|
||||||
|
|
||||||
|
e.consume();
|
||||||
}
|
}
|
||||||
else if(ogListener != null)
|
else if(ogListener != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue