v0.4.2: added in a safety check for windows
This commit is contained in:
parent
3d2fd64a53
commit
704b3b6fc8
|
@ -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 )) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user