Update displayOriginX, displayOriginY after size changed

This commit is contained in:
Hua 2019-06-12 13:54:27 +08:00
parent 77859b1cdf
commit da617f364d

View file

@ -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)