Fixed zoom behavior
This commit is contained in:
parent
2ea86cf76f
commit
d751cce6eb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user