Skip to content

Commit

Permalink
Fix #61
Browse files Browse the repository at this point in the history
Bug was introduce in df00f65
  • Loading branch information
LeonBein committed Nov 21, 2023
1 parent a596c97 commit 31ec6f0
Show file tree
Hide file tree
Showing 2 changed files with 718 additions and 711 deletions.
6 changes: 3 additions & 3 deletions src/main/java/de/hpi/bpt/scylla/GUI/ScyllaGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public class ScyllaGUI extends JFrame {

/**A Developer variable to suppress e.g. output forwarding*/
public static final boolean USE_IDE_CONSOLE = true;
public static final boolean USE_IDE_CONSOLE = false;

/**Tells whether the programm is running in a jar or not*/
public static final boolean INJAR = ScyllaGUI.class.getResource(ScyllaGUI.class.getSimpleName()+".class").toString().startsWith("jar:");
Expand All @@ -61,14 +61,14 @@ public class ScyllaGUI extends JFrame {
private static GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
/**Screen rectangle*/
private static java.awt.Rectangle r = env.getMaximumWindowBounds();


/**Screen width*/
public static final int WIDTH = r.width;//1200
/**Screen height*/
public static final int HEIGHT = r.height;//900
/**General scale; calculated as height scale to a 1200x900 display*/
public static final double SCALE = ((double)HEIGHT)/900.0;



// private static double SCALE = 1;
// private static int WIDTH = 1200;//(int)(1200.0 * SCALE);
Expand Down
Loading

0 comments on commit 31ec6f0

Please sign in to comment.