|
@ -19,7 +19,7 @@ local function position_popup(popup,widget,style) |
|
|
-- Figure out the geometry of the base widget |
|
|
-- Figure out the geometry of the base widget |
|
|
local widget_geo |
|
|
local widget_geo |
|
|
for k,v in pairs(mouse.current_widgets or {}) do |
|
|
for k,v in pairs(mouse.current_widgets or {}) do |
|
|
if widget == v then |
|
|
|
|
|
|
|
|
if (widget == v) and mouse.current_widget_geometries then |
|
|
widget_geo = mouse.current_widget_geometries[k] |
|
|
widget_geo = mouse.current_widget_geometries[k] |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|