Browse Source

Fixed wrong sidebar height when use a field smaller then 1000 pixels height

jancoow 10 years ago
parent
commit
7581f6d05a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/gui/simulator/Terrain.java

+ 1 - 1
src/gui/simulator/Terrain.java

@@ -71,7 +71,7 @@ public class Terrain extends JPanel {
     	}
     	}
 
 
     	//initialize sidebar
     	//initialize sidebar
-    	sidebar = new Sidebar(sideBarWidth, getFestivalHeight(), this);
+    	sidebar = new Sidebar(sideBarWidth, 3000, this);
 
 
     	//set terrainbackground
     	//set terrainbackground
     	switch(terrain){
     	switch(terrain){