@@ -36,12 +36,6 @@ public void start(Stage newStage) throws Exception {
36
36
double sh = GraphicsEnvironment .getLocalGraphicsEnvironment ().getDefaultScreenDevice ()
37
37
.getDisplayMode ().getHeight ();
38
38
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));
45
39
System .out .println ("Screen " +sw +"x" +sh );
46
40
sw =primaryScreenBounds .getWidth ();
47
41
sh =primaryScreenBounds .getHeight ();
@@ -77,7 +71,6 @@ public void start(Stage newStage) throws Exception {
77
71
}
78
72
public static void main (String [] args ) {
79
73
String relative = FileSystemView .getFileSystemView ().getDefaultDirectory ().getPath ();
80
- // https://github.com/CommonWealthRobotics/BowlerStudio/issues/378
81
74
if (!relative .endsWith ("Documents" )) {
82
75
relative = relative + DownloadManager .delim ()+"Documents" ;
83
76
}
@@ -86,12 +79,6 @@ public static void main(String [] args) {
86
79
ScriptingEngine .setWorkspace (file );
87
80
PsudoSplash .setResource (Main .class .getResource ("SourceIcon.png" ));
88
81
launch (args );
89
- // try {
90
- // BowlerStudio.main(args);
91
- // } catch (Exception e) {
92
- // // TODO Auto-generated catch block
93
- // e.printStackTrace();
94
- // }
95
82
96
83
}
97
84
0 commit comments