mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix border for header on certain screens
This commit is contained in:
@@ -213,8 +213,8 @@ public abstract class FScreen extends FContainer {
|
||||
|
||||
@Override
|
||||
public void drawOverlay(Graphics g) {
|
||||
if (Forge.isLandscapeMode()) {
|
||||
//in landscape mode, draw left border for header
|
||||
if (Forge.isLandscapeMode() && getWidth() < Forge.getCurrentScreen().getWidth()) {
|
||||
//in landscape mode, draw left border for sidebar if needed
|
||||
g.drawLine(LINE_THICKNESS, LINE_COLOR, 0, 0, 0, getHeight());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user