fix timeline positions when the mainlist x positions isnt 0
[enigma2.git] / lib / python / Plugins / Extensions / GraphMultiEPG / GraphMultiEpg.py
index 0edc468aa13d10ed43f92297f5e5946b6001ca06..45a5e218ecb00542093260772d67c18385923afd 100644 (file)
@@ -278,7 +278,8 @@ class EPGList(HTMLComponent, GUIComponent):
                self.findBestEvent()
 
        def getEventRect(self):
-               return self.event_rect
+               rc = self.event_rect
+               return Rect( rc.left() + (self.instance and self.instance.position().x() or 0), rc.top(), rc.width(), rc.height() )
 
        def getTimeEpoch(self):
                return self.time_epoch