Spin: change speed along with axis at switch time
This commit is contained in:
1 parent
85fabfc6cd
commit
ecba9f2c88
1 file changed
+1
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user