gauge.lua draws the bar wider than the border
So
should be
Also, the hotspots don't get redone if the miniwindow is resized and the gauges are redrawn in different places.
So
should just be
So
local gauge_width = width * Fractionshould be
local gauge_width = (width-2) * FractionAlso, the hotspots don't get redone if the miniwindow is resized and the gauges are redrawn in different places.
So
-- mouse-over information: add hotspot if not there
if not WindowHotspotInfo(win, name, 1) then
WindowAddHotspot (win, name, left, top, left + width, top + height, "", "", "", "", "", "", 0, 0)
end -- ifshould just be
-- mouse-over information: add hotspot
WindowAddHotspot (win, name, left, top, left + width, top + height,"", "", "", "", "", "", 0, 0)


