Explorar o código

Fixed faulty drawing offset.

Taddeus Kroes %!s(int64=13) %!d(string=hai) anos
pai
achega
562b0cf0c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()