Add a way to pause the background animation #220

I currently set href to "" because I don't currently know how to interface with session variables directly through html tags. "Basic View" and "Standard View" have different lengths, so the footer shifts when the button is pressed. The paused background state is different from the paused state when the user once again switches to the tab after a period of time, where the triangles are all orange and regular. The session variable can also be renamed and used elsewhere to perhaps make the page less reactive, for example in displaying search results, to reduce lag.
Should I restore with an if clause over the entire body of the update loop?
On Jul 1, 2014, at 10:57 AM, Tiantong Qin <tiantongqin@gmail.com> wrote:

> Oh, thanks.
> On Jul 1, 2014, at 4:08 AM, Mitar <notifications@github.com> wrote:
> 
>> In client/lib/background.coffee:
>> 
>> > @@ -34,6 +34,7 @@ class Vector
>> >      @deltaY = 0
>> >  
>> >    update: (time) =>
>> > +    return if Session.get 'backgroundPaused'
>> Is this really needed?
>> 
>> —
>> Reply to this email directly or view it on GitHub.
>> 
>