Commit 562b0cf0 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Fixed faulty drawing offset.

parent 9c260769
...@@ -102,7 +102,7 @@ class Polygon(BoundingBoxArea): ...@@ -102,7 +102,7 @@ class Polygon(BoundingBoxArea):
cr.stroke() cr.stroke()
# Fill polygon # Fill polygon
rx, ry = self.get_root_offset() rx, ry = self.get_offset(root)
cr.translate(rx, ry) cr.translate(rx, ry)
cr.new_path() cr.new_path()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment