fix(script): Set 2s default interval for timed scripts

This commit is contained in:
Michael Carlberg 2016-10-26 12:20:55 +02:00
parent 4167c8c11c
commit 660d06768b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ namespace modules {
m_actions[mousebtn::SCROLL_UP] = m_conf.get<string>(name(), "scroll-up", "");
m_actions[mousebtn::SCROLL_DOWN] = m_conf.get<string>(name(), "scroll-down", "");
m_interval = interval_t{m_conf.get<float>(name(), "interval", 0.0f)};
m_interval = interval_t{m_conf.get<float>(name(), "interval", m_tail ? 0.0f : 2.0f)};
}
void stop() {