Move focusGained to mixins

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-06-22 19:53:28 -04:00
committed by Adam
parent 2944e5b334
commit 384bdb1179
2 changed files with 13 additions and 8 deletions
@@ -240,14 +240,6 @@ public class Hooks
keyManager.processKeyTyped(keyEvent);
}
public static void focusGained(KeyFocusListener l, FocusEvent focusEvent)
{
FocusChanged focusChanged = new FocusChanged();
focusChanged.setFocused(true);
eventBus.post(focusChanged);
}
public static void focusLost(KeyFocusListener l, FocusEvent focusEvent)
{
FocusChanged focusChanged = new FocusChanged();