Parcourir la source

Fixed faulty drawing offset.

Taddeus Kroes il y a 13 ans
Parent
commit
562b0cf0c2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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()