🎉 Add initial T-Rex shader

This commit is contained in:
Simon Schneegans
2022-01-01 19:48:24 +01:00
parent 11a3562533
commit 918a12060c
5 changed files with 146 additions and 0 deletions
+5
View File
@@ -25,6 +25,7 @@ const utils = Me.imports.src.common.utils;
const FireShader = Me.imports.src.extension.FireShader.FireShader;
const MatrixShader = Me.imports.src.extension.MatrixShader.MatrixShader;
const TVEffectShader = Me.imports.src.extension.TVEffectShader.TVEffectShader;
const TRexShader = Me.imports.src.extension.TRexShader.TRexShader;
//////////////////////////////////////////////////////////////////////////////////////////
// This extensions modifies the window-close animation to look like the window was set //
@@ -158,6 +159,10 @@ class Extension {
} else if (mode == 3) {
shader = new TVEffectShader(this._settings);
tweakTransition('scale-y', 0.5);
} else if (mode == 4) {
shader = new TRexShader(this._settings);
tweakTransition('scale-x', 1.1);
tweakTransition('scale-y', 1.1);
}
if (shader) {