Kaynağa Gözat

Fixed faulty drawing offset.

Taddeus Kroes 13 yıl önce
ebeveyn
işleme
562b0cf0c2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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()