浏览代码

Fixed faulty drawing offset.

Taddeus Kroes 13 年之前
父节点
当前提交
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()