Dear users, Please note that, from Monday, August 16, 2019, RSA keys shorter than 2048bit will no longer be accepted for security reasons. Please update your keys as needed before this date. If you need assistance with regard to this process, please contact sia@list.lu

Thank you for your understanding.

Commit 3217bf04 authored by Nico Mack's avatar Nico Mack

Minor code change in paint method

parent 5670c288
......@@ -440,11 +440,10 @@ public class CalibrationScreen extends JPanel implements KeyListener {
}
if (!this.messagePane.isVisible()) {
Rectangle bounds = this.getBounds();
if (this.system == CoordinateSystem.CAMERA) {
Rectangle bounds = this.getBounds();
canvas.drawImage(cameraIcon, (bounds.width - cameraIcon.getWidth()) / 2, (bounds.height - cameraIcon.getHeight()) / 2, null);
} else if (this.system == CoordinateSystem.SCREEN) {
Rectangle bounds = this.getBounds();
canvas.drawImage(screenIcon, (bounds.width - screenIcon.getWidth()) / 2, (bounds.height - screenIcon.getHeight()) / 2, null);
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment