Improved code readability. Components now aware of what mouse button was clicked.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / gui / GuiComponent.java
index 0fc1f11..e72de54 100644 (file)
@@ -94,7 +94,7 @@ public class GuiComponent extends AbstractCompositeShape implements
     }
 
     @Override
-    public boolean mouseClicked() {
+    public boolean mouseClicked(int button) {
         return viewPanel.getKeyboardFocusStack().pushFocusOwner(this);
     }