Wedge

Public area => The Pub => Topic started by: Nao on May 21st, 2012, 04:16 PM

Title: One more stupid animation...
Post by: Nao on May 21st, 2012, 04:16 PM
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
Title: Re: One more stupid animation...
Post by: Dragooon on May 21st, 2012, 04:20 PM
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.
Title: Re: One more stupid animation...
Post by: Nao on May 21st, 2012, 04:23 PM
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...
Title: Re: One more stupid animation...
Post by: Dragooon on May 21st, 2012, 04:34 PM
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?
Title: Re: One more stupid animation...
Post by: Nao on May 21st, 2012, 04:42 PM
(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.
Title: Re: One more stupid animation...
Post by: Arantor on May 21st, 2012, 08:03 PM
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.
Title: Re: One more stupid animation...
Post by: Nao on May 21st, 2012, 08:09 PM
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.