1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-04-14 17:33:17 -04:00

fix: Apply x position once to action blocks

This commit is contained in:
Michael Carlberg 2016-12-20 08:00:08 +01:00
parent ccbb38798d
commit 3a01bcf308

View file

@ -663,8 +663,8 @@ bool renderer::on(const action_end& evt) {
break;
}
action->start_x += m_bar.pos.x + m_rect.x;
action->end_x += m_bar.pos.x + m_rect.x;
action->start_x += m_rect.x;
action->end_x += m_rect.x;
m_log.trace_x("renderer: action_end(%i, %s, %i)", static_cast<uint8_t>(btn), action->command, action->width());
}