Skip to content

Commit

Permalink
Fixed loading bar stroke not scaling correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Jul 12, 2021
1 parent 3c688d3 commit a1f5982
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/mindustry/ui/WarningBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import arc.graphics.g2d.*;
import arc.scene.*;
import arc.scene.ui.layout.*;
import mindustry.graphics.*;

public class WarningBar extends Element{
Expand All @@ -27,7 +28,7 @@ public void draw(){
rx + barWidth, y
);
}
Lines.stroke(3f);
Lines.stroke(Scl.scl(3f));
Lines.line(x, y, x + width, y);
Lines.line(x, y + height, x + width, y + height);

Expand Down

0 comments on commit a1f5982

Please sign in to comment.