fix(date): Do not override get_output
This commit is contained in:
parent
d5515ebcb0
commit
d8c309ec35
@ -39,17 +39,17 @@ namespace modules {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
string get_output() {
|
bool build(builder* builder, string tag) const {
|
||||||
if (!m_formatalt.empty())
|
if (tag != TAG_DATE) {
|
||||||
m_builder->cmd(mousebtn::LEFT, EVENT_TOGGLE);
|
return false;
|
||||||
m_builder->node(timer_module::get_output());
|
|
||||||
return m_builder->flush();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool build(builder* builder, string tag) const {
|
if (!m_formatalt.empty())
|
||||||
if (tag == TAG_DATE)
|
m_builder->cmd(mousebtn::LEFT, EVENT_TOGGLE);
|
||||||
|
|
||||||
builder->node(m_buffer);
|
builder->node(m_buffer);
|
||||||
return tag == TAG_DATE;
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool handle_event(string cmd) {
|
bool handle_event(string cmd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user