fix resizing when using Display.setParent()
This commit is contained in:
parent
a749ad5c10
commit
7bbfcadcef
|
@ -583,11 +583,7 @@ final class MacOSXDisplay implements DisplayImplementation {
|
|||
}
|
||||
|
||||
public boolean wasResized() {
|
||||
if (native_mode) {
|
||||
return nWasResized(window);
|
||||
} else {
|
||||
return canvas_listener.wasResized();
|
||||
}
|
||||
return nWasResized(window);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue