mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 09:59:45 +02:00
TempBar größe und ende geändert
This commit is contained in:
@@ -89,7 +89,7 @@ public class StatusPanelAdder{
|
||||
public static void tick() {
|
||||
temping=0;
|
||||
if (modifier<0){
|
||||
barSpeed=0.015;
|
||||
barSpeed=0.01;
|
||||
tempMinus+=barSpeed*modifier;
|
||||
if (tempMinus<-1){
|
||||
temping=-1;
|
||||
@@ -127,7 +127,7 @@ public class StatusPanelAdder{
|
||||
JPanel tempPanel=new JPanel();
|
||||
labelTemp.setFont(emulogicheading);
|
||||
labelTemp.setForeground(Color.YELLOW);
|
||||
tempBar= new JProgressBar(30,200);
|
||||
tempBar= new JProgressBar(30,110);
|
||||
tempBar.setValue(45);
|
||||
tempPanel.setLayout(new BorderLayout(0,vgap));
|
||||
tempPanel.add(labelTemp, BorderLayout.NORTH);
|
||||
|
||||
Reference in New Issue
Block a user