diff --git a/desktop/src/main/java/it/cavallium/warppi/gui/graphicengine/impl/swing/SwingWindow.java b/desktop/src/main/java/it/cavallium/warppi/gui/graphicengine/impl/swing/SwingWindow.java index 2462b4f8..666a56dc 100644 --- a/desktop/src/main/java/it/cavallium/warppi/gui/graphicengine/impl/swing/SwingWindow.java +++ b/desktop/src/main/java/it/cavallium/warppi/gui/graphicengine/impl/swing/SwingWindow.java @@ -104,7 +104,7 @@ public class SwingWindow extends JFrame { @Override public void componentResized(final ComponentEvent e) { - onResize.onNext(new Integer[] { c.getWidth(), c.getHeight() }); + onResize.onNext(new Integer[] { c.getWidth() / mult, c.getHeight() / mult }); } @Override