Add a missing "let".

This commit is contained in:
Siegfried-Angel Gevatter Pujals 2009-09-26 00:48:34 +02:00
parent c14a4deddf
commit 79d5d3dba0

View File

@ -211,7 +211,7 @@ WindowClone.prototype = {
this._zoomLocalOrig = new ScaledPoint(this.actor.x, this.actor.y, this.actor.scale_x, this.actor.scale_y); this._zoomLocalOrig = new ScaledPoint(this.actor.x, this.actor.y, this.actor.scale_x, this.actor.scale_y);
this._zoomGlobalOrig = new ScaledPoint(); this._zoomGlobalOrig = new ScaledPoint();
let parent = this._origParent = this.actor.get_parent(); let parent = this._origParent = this.actor.get_parent();
[width, height] = this.actor.get_transformed_size(); let [width, height] = this.actor.get_transformed_size();
this._zoomGlobalOrig.setPosition.apply(this._zoomGlobalOrig, this.actor.get_transformed_position()); this._zoomGlobalOrig.setPosition.apply(this._zoomGlobalOrig, this.actor.get_transformed_position());
this._zoomGlobalOrig.setScale(width / this.actor.width, height / this.actor.height); this._zoomGlobalOrig.setScale(width / this.actor.width, height / this.actor.height);