Fixed zoom behavior

This commit is contained in:
Andrea Cavalli 2018-10-04 21:46:44 +02:00
parent 2ea86cf76f
commit d751cce6eb

View File

@ -104,7 +104,7 @@ public class SwingWindow extends JFrame {
@Override @Override
public void componentResized(final ComponentEvent e) { 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 @Override