prevent rendering tooltip when alpha is 0
This commit is contained in:
@@ -300,7 +300,7 @@ function TreeView:draw()
|
||||
end
|
||||
|
||||
self:draw_scrollbar()
|
||||
if self.hovered_item then
|
||||
if self.hovered_item and self.tooltip.alpha > 0 then
|
||||
core.root_view:defer_draw(self.draw_tooltip, self)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user