Spin: change speed along with axis at switch time
This commit is contained in:
parent
85fabfc6cd
commit
ecba9f2c88
@ -34,6 +34,7 @@ bool Spin::expose (GnomeScreensaver & gs)
|
|||||||
getRandomAxis(&m_monitor_info[i].axis);
|
getRandomAxis(&m_monitor_info[i].axis);
|
||||||
m_monitor_info[i].switch_time = getRandomSwitchTime();
|
m_monitor_info[i].switch_time = getRandomSwitchTime();
|
||||||
m_monitor_info[i].last_switch_ticks = gs.getTicks();
|
m_monitor_info[i].last_switch_ticks = gs.getTicks();
|
||||||
|
m_monitor_info[i].speed = getRandomSpeed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user