mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-05 14:47:37 +00:00
format source files
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user