Fixed PlayerControls frame display

Now redirects to the current frame instead of the next frame
This commit is contained in:
Exund
2021-11-28 21:51:26 +01:00
committed by Jindra Petřík
parent 6ef57d66f5
commit b6e5b96678

View File

@@ -213,7 +213,7 @@ public class PlayerControls extends JPanel implements MediaDisplayListener {
public void mouseClicked(MouseEvent e) {
int gotoFrame = PlayerControls.this.display.getCurrentFrame();
if (gotoFrame > 0) {
mainPanel.gotoFrame(gotoFrame);
mainPanel.gotoFrame(gotoFrame - 1);
}
}
});