Skip to content

Commit e0b311a

Browse files
committed
delete commented out code
1 parent 089d032 commit e0b311a

File tree

1 file changed

+0
-13
lines changed
  • src/main/java/com/commonwealthrobotics

1 file changed

+0
-13
lines changed

src/main/java/com/commonwealthrobotics/Main.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ public void start(Stage newStage) throws Exception {
3636
double sh = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice()
3737
.getDisplayMode().getHeight();
3838
Rectangle2D primaryScreenBounds = javafx.stage.Screen.getPrimary().getVisualBounds();
39-
double scalew = primaryScreenBounds.getWidth();
40-
// double screenZoom = sw/scalew;
41-
// double newSize= sw/2256.0*(2*FontSizeManager.systemDefaultFontSize)/screenZoom;
42-
// if(newSize<FontSizeManager.systemDefaultFontSize)
43-
// newSize=FontSizeManager.systemDefaultFontSize;
44-
// FontSizeManager.setFontSize((int)Math.round(newSize));
4539
System.out.println("Screen "+sw+"x"+sh);
4640
sw=primaryScreenBounds.getWidth();
4741
sh=primaryScreenBounds.getHeight();
@@ -77,7 +71,6 @@ public void start(Stage newStage) throws Exception {
7771
}
7872
public static void main(String [] args) {
7973
String relative = FileSystemView.getFileSystemView().getDefaultDirectory().getPath();
80-
// https://github.com/CommonWealthRobotics/BowlerStudio/issues/378
8174
if (!relative.endsWith("Documents")) {
8275
relative = relative + DownloadManager.delim()+"Documents";
8376
}
@@ -86,12 +79,6 @@ public static void main(String [] args) {
8679
ScriptingEngine.setWorkspace(file);
8780
PsudoSplash.setResource(Main.class.getResource("SourceIcon.png"));
8881
launch(args);
89-
// try {
90-
// BowlerStudio.main(args);
91-
// } catch (Exception e) {
92-
// // TODO Auto-generated catch block
93-
// e.printStackTrace();
94-
// }
9582

9683
}
9784

0 commit comments

Comments
 (0)