some changes
This commit is contained in:
@@ -10,11 +10,14 @@ public class ClickSwapImageEvent extends MouseAdapter {
|
||||
}
|
||||
|
||||
public void mouseClicked(MouseEvent event) {
|
||||
System.out.println(this.window.manager.cursor);
|
||||
if(event.getX() > this.window.getWidth() / 2) {
|
||||
this.window.nextImage();
|
||||
System.out.println(this.window.manager.cursor);
|
||||
return;
|
||||
}
|
||||
|
||||
this.window.lastImage();
|
||||
this.window.previousImage();
|
||||
System.out.println(this.window.manager.cursor);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user