🔧 Try fix CI
This commit is contained in:
+7
-7
@@ -491,14 +491,14 @@ class Extension {
|
|||||||
// Set one-time uniforms.
|
// Set one-time uniforms.
|
||||||
shader.beginAnimation(this._settings, forOpening, actor);
|
shader.beginAnimation(this._settings, forOpening, actor);
|
||||||
|
|
||||||
// If not in test mode, we update uniforms at each frame.
|
// Set other uniforms each frame.
|
||||||
if (testMode) {
|
transition.connect('new-frame', (t) => {
|
||||||
shader.updateAnimation(0.5, duration / 2);
|
if (testMode) {
|
||||||
} else {
|
shader.updateAnimation(0.5, duration / 2);
|
||||||
transition.connect('new-frame', (t) => {
|
} else {
|
||||||
shader.updateAnimation(t.get_progress(), 0.001 * t.get_elapsed_time());
|
shader.updateAnimation(t.get_progress(), 0.001 * t.get_elapsed_time());
|
||||||
});
|
}
|
||||||
}
|
});
|
||||||
|
|
||||||
// Remove the effect if the animation finished or was interrupted.
|
// Remove the effect if the animation finished or was interrupted.
|
||||||
if (forOpening) {
|
if (forOpening) {
|
||||||
|
|||||||
Reference in New Issue
Block a user