format source files

This commit is contained in:
honfika@gmail.com
2015-01-13 21:19:10 +01:00
parent 8ff2925335
commit 26dd283d3f
14 changed files with 100 additions and 100 deletions

View File

@@ -392,15 +392,15 @@ public class PlayerControls extends JPanel implements ActionListener {
if (r.endsWith(".0")) {
r = r.substring(0, r.length() - 2);
}
r += "%";
if (zoomToFit) {
percentLabel.setText(AppStrings.translate("fit") + " (" + r + ")");
} else {
percentLabel.setText(r);
}
Zoom zoomObj = new Zoom();
zoomObj.value = zoom;
zoomObj.fit = zoomToFit;
@@ -517,10 +517,10 @@ public class PlayerControls extends JPanel implements ActionListener {
if (zoomToFit) {
return display.getZoomToFit();
}
return realZoom;
}
private class TransferableImage implements Transferable {
Image img;