Skip to content

Instantly share code, notes, and snippets.

@hamiltont
Created January 3, 2016 01:19
Show Gist options
  • Save hamiltont/01d282c4034e0c900e2a to your computer and use it in GitHub Desktop.
Save hamiltont/01d282c4034e0c900e2a to your computer and use it in GitHub Desktop.
--- mainWindow.js 2016-01-02 19:05:37.556205523 -0500
+++ /usr/share/nemo-preview/js/ui/mainWindow.js 2016-01-02 20:04:04.704105784 -0500
@@ -283,6 +283,8 @@
yFactor = 0.92;
}
+ yFactor = 0;
+
this._texture.set_size(textureSize[0], textureSize[1]);
this._textureYAlign.factor = yFactor;
@@ -357,6 +359,12 @@
align_axis: Clutter.AlignAxis.Y_AXIS });
this._texture.add_constraint(this._textureYAlign);
+ this._textureXAlign =
+ new Clutter.AlignConstraint({ source: this._stage,
+ factor: 0,
+ align_axis: Clutter.AlignAxis.X_AXIS });
+ this._texture.add_constraint(this._textureXAlign);
+
this.refreshSize();
this._mainGroup.add_child(this._texture);
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment