Wedge

Public area => The Pub => Discussion démarrée par: Nao le 21 Mai 2012 à 16:16

Titre: One more stupid animation...
Posté par: Nao le 21 Mai 2012 à 16:16
So, I couldn't be arsed to keep working on the tons of features I'm supposed to finish, so I just made a new animation...

Just press the Quick Edit button to see a (probably weird) transition between the post and the textarea.
I tried many variations to get the most 'natural' feeling, but I don't know if it adds anything to the feature, or actually distracts from it, I don't know...

Hence this new topic to post about new animations, and your opinions on them :P
Titre: Re: One more stupid animation...
Posté par: Dragooon le 21 Mai 2012 à 16:20
This is a post to test the animation

Ideally the textbox should just appear behind the text without it fading, but it still looks good.
Titre: Re: One more stupid animation...
Posté par: Nao le 21 Mai 2012 à 16:23
The problem is that the textarea has a pretty much consistent height, while posts can be of any height...
I actually introduced the animation to allow users to 'follow' the Quick Edit button they just clicked, while the post is being resized.
Unfortunately, on my computer it's quite jerky, and I'm not sure it's for the best.
I'm still working on it...
Titre: Re: One more stupid animation...
Posté par: Dragooon le 21 Mai 2012 à 16:34
Well not sure how you'd achieve this, but wrap the text area around the entire post content(Make it fade from behind) and then resize it?
Titre: Re: One more stupid animation...
Posté par: Nao le 21 Mai 2012 à 16:42
(Eh...?!)

Anyway, in my latest version I've given up on the idea of starting the fadeOut animation before the post text is retrieved -- I don't like relying on client/server efficiency when doing animations. So it's doing a simple slideUp while the textarea is in a slideDown. A kind of animation I already implemented in the past, because, well, it's relatively easy to do... :)

It doesn't look bad, at this point. I just don't know how it'll work in the long run.
Titre: Re: One more stupid animation...
Posté par: Arantor le 21 Mai 2012 à 20:03
Hmm, I'm not convinced either, but I will acknowledge that after an afternoon of psychological warfare and bureaucracy I'm not in the most positive frame of mind.
Titre: Re: One more stupid animation...
Posté par: Nao le 21 Mai 2012 à 20:09
Since it's committed, feel free to change speeds to get a feeling of how best to handle it...

After all the quick reply is animated too.