Minor toobar tooltip adjustment
This commit is contained in:
parent
fc46946ea1
commit
22de3354ce
|
@ -99,9 +99,7 @@ function ToolbarView:on_mouse_moved(px, py, ...)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if px > x_min and px <= x_max and py > y_min and py <= y_max then
|
if self.tooltip and not (px > x_min and px <= x_max and py > y_min and py <= y_max) then
|
||||||
self.tooltip = true
|
|
||||||
elseif self.tooltip then
|
|
||||||
core.status_view:remove_tooltip()
|
core.status_view:remove_tooltip()
|
||||||
self.tooltip = false
|
self.tooltip = false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue