v0.4.2: added in a safety check for windows
This commit is contained in:
@@ -60,7 +60,7 @@ public class Window extends Group implements Signal.Listener<Key> {
|
||||
blocker = new TouchArea( 0, 0, PixelScene.uiCamera.width, PixelScene.uiCamera.height ) {
|
||||
@Override
|
||||
protected void onClick( Touch touch ) {
|
||||
if (!Window.this.chrome.overlapsScreenPoint(
|
||||
if (Window.this.parent != null && !Window.this.chrome.overlapsScreenPoint(
|
||||
(int)touch.current.x,
|
||||
(int)touch.current.y )) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user