🎉 Make T-Rex effect configurable
This commit is contained in:
+4
-2
@@ -161,8 +161,10 @@ class Extension {
|
||||
tweakTransition('scale-y', 0.5);
|
||||
} else if (mode == 4) {
|
||||
shader = new TRexShader(this._settings);
|
||||
tweakTransition('scale-x', 1.05);
|
||||
tweakTransition('scale-y', 1.05);
|
||||
|
||||
const warp = 0.5 * this._settings.get_double('claw-scratch-warp');
|
||||
tweakTransition('scale-x', 1.0 + warp);
|
||||
tweakTransition('scale-y', 1.0 + warp);
|
||||
}
|
||||
|
||||
if (shader) {
|
||||
|
||||
Reference in New Issue
Block a user