fix: on_click messing up highlights

solution seems to be keeping hl defs out of on_click wrap.
This commit is contained in:
shadmansaleh 2022-07-22 20:17:02 +06:00
parent 669a7d63ca
commit bf7dfb5dab
1 changed files with 1 additions and 1 deletions

View File

@ -278,8 +278,8 @@ function M:draw(default_highlight, is_focused)
self.status = status self.status = status
self:apply_icon() self:apply_icon()
self:apply_padding() self:apply_padding()
self:apply_highlights(default_highlight)
self:apply_on_click() self:apply_on_click()
self:apply_highlights(default_highlight)
self:apply_section_separators() self:apply_section_separators()
self:apply_separator() self:apply_separator()
end end