*
* The MIT License (MIT)
*
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* @param mouse a mouse-based event
* @return whether or not the mouse is on the editor
*/
- private final boolean mouseOnEditor(final TMouseEvent mouse) {
+ private boolean mouseOnEditor(final TMouseEvent mouse) {
if ((mouse.getAbsoluteX() >= getAbsoluteX() + 1)
&& (mouse.getAbsoluteX() < getAbsoluteX() + getWidth() - 1)
&& (mouse.getAbsoluteY() >= getAbsoluteY() + 1)