mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Update displayOriginX, displayOriginY after size changed
This commit is contained in:
parent
77859b1cdf
commit
da617f364d
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ var Zone = new Class({
|
|||
this.width = width;
|
||||
this.height = height;
|
||||
|
||||
this.updateDisplayOrigin();
|
||||
|
||||
var input = this.input;
|
||||
|
||||
if (resizeInput && input && !input.customHitArea)
|
||||
|
|
Loading…
Reference in a new issue