Skip to content

Commit

Permalink
Fix tooltip from ghost toolbar
Browse files Browse the repository at this point in the history
Github issue: #48
  • Loading branch information
franko committed Feb 20, 2021
1 parent 0543502 commit cf6332a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/plugins/toolbarview.lua
Expand Up @@ -57,6 +57,7 @@ function ToolbarView:each_item()
if index <= #toolbar_commands then
local dx = style.padding.x + (icon_w + toolbar_spacing) * (index - 1)
local dy = style.padding.y
if dx >= self.size.x then return end
return toolbar_commands[index], ox + dx, oy + dy, icon_w, icon_h
end
end
Expand Down

0 comments on commit cf6332a

Please sign in to comment.