Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
  • Loading branch information
syd711 committed Nov 17, 2024
1 parent ab872ac commit adfc036
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package de.mephisto.vpin.restclient.system;

import com.fasterxml.jackson.annotation.JsonIgnore;
import javafx.stage.Screen;

public class ScreenInfo {
private boolean portraitMode;
private boolean primary;
Expand All @@ -13,16 +10,6 @@ public class ScreenInfo {
private int id;
private double x;
private double y;
private Screen screen;

@JsonIgnore
public Screen getScreen() {
return screen;
}

public void setScreen(Screen screen) {
this.screen = screen;
}

public int getOriginalWidth() {
return originalWidth;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ private static ScreenInfo createScreenInfo(Screen screen) {
info.setPrimary(screen.equals(Screen.getPrimary()));
info.setHeight((int) screenBounds.getHeight());
info.setWidth((int) screenBounds.getWidth());
info.setScreen(screen);

if (screen.getOutputScaleX() > 1) {
info.setOriginalWidth((int) (info.getWidth() * screen.getOutputScaleX()));
Expand Down

0 comments on commit adfc036

Please sign in to comment.