@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make animations set their initial values immediately

Summary:
Currently, it takes one frame for animations to set their first value. For fading stuff in, that means it briefly appears at 100% opacity, then jumps to 0%, then fades in from there.

Instead, immediately tween to the initial value.

Test Plan: Comments in Pholio fade in nicely. Preview is still a janky pile of mess until D6267.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D6268

+4 -1
+1 -1
src/__celerity_resource_map__.php
··· 2442 2442 ), 2443 2443 'javelin-fx' => 2444 2444 array( 2445 - 'uri' => '/res/c7cefec3/rsrc/externals/javelin/ext/fx/FX.js', 2445 + 'uri' => '/res/23fb3d44/rsrc/externals/javelin/ext/fx/FX.js', 2446 2446 'type' => 'js', 2447 2447 'requires' => 2448 2448 array(
+3
webroot/rsrc/externals/javelin/ext/fx/FX.js
··· 87 87 this._interval = setInterval( 88 88 JX.bind(this, this._tween), 89 89 Math.round(1000 / this.getFps())); 90 + 91 + // Immediately update to the initial values. 92 + this._tween(); 90 93 }, 91 94 92 95 _tween: function() {