Closed Bug 1160995 Opened 9 years ago Closed 9 years ago

[Stingray] Replace reverse direction with new animation frame for shrinking animation

Categories

(Firefox OS Graveyard :: Gaia::TV, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: suchiu, Assigned: suchiu)

Details

Attachments

(1 file)

In shared/style/smart-screen/animation.css, shrinking animation is implemented by reversing the direction of 'circleGrow' animation frame. The output is not expected since the timing function is not reversed. Creating new animation frame with scale 6 to 0.8 is the correct way to do so.
@keyframes circleShrink {
    0%   {transform: scale(6);}
    100% {transform: scale(0.8);} /* for 1920x1080 screen only */
}
Attachment #8600841 - Flags: review?(im)
Comment on attachment 8600841 [details] [review]
[gaia] sean2449:Bug_1160995-reverse-animation > mozilla-b2g:master

Looks good to me.
Attachment #8600841 - Flags: review?(im) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: