Make animations in Yutani faster.
This commit is contained in:
parent
49952347d6
commit
365295010c
@ -146,7 +146,7 @@ static uint32_t yutani_time_since(yutani_globals_t * yg, uint32_t start_time) {
|
||||
uint32_t now = yutani_current_time(yg);
|
||||
uint32_t diff = now - start_time; /* Milliseconds */
|
||||
|
||||
return diff / 2;
|
||||
return diff;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -27,8 +27,8 @@ typedef enum {
|
||||
|
||||
static int yutani_animation_lengths[] = {
|
||||
0,
|
||||
256,
|
||||
256,
|
||||
200,
|
||||
200,
|
||||
0,
|
||||
0,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user