Taddeus Kroes 13 лет назад
Родитель
Сommit
562b0cf0c2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tests/testapp.py

+ 1 - 1
tests/testapp.py

@@ -102,7 +102,7 @@ class Polygon(BoundingBoxArea):
             cr.stroke()
 
         # Fill polygon
-        rx, ry = self.get_root_offset()
+        rx, ry = self.get_offset(root)
         cr.translate(rx, ry)
         cr.new_path()