No scale mode, no expansion.

This commit is contained in:
Richard Davey 2019-02-04 22:14:16 +00:00
parent 0b4dc5f037
commit e423e9c387

View file

@ -591,7 +591,7 @@ var ScaleManager = new Class({
this.parent = GetTarget(parent);
this.parentIsWindow = (this.parent === document.body);
if (config.expandParent)
if (config.expandParent && config.scaleMode !== CONST.SCALE_MODE.NONE)
{
var DOMRect = this.parent.getBoundingClientRect();