style: Rewrite the animation representation to allow having state in layout

I have to make the appropriate changes in layout, but I'm running out of battery
in the bus.
This commit is contained in:
Emilio Cobos Álvarez 2016-06-19 19:39:32 +02:00
parent 5b27e46d04
commit c16c5acade
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 258 additions and 152 deletions

View file

@ -671,7 +671,7 @@ impl ScriptThread {
}
// Store new resizes, and gather all other events.
let mut sequential = vec!();
let mut sequential = vec![];
// Receive at least one message so we don't spinloop.
let mut event = {