mirror of
https://github.com/wassname/sloth.git
synced 2026-06-27 18:25:49 +08:00
Fix the start point of the polygon
This commit is contained in:
@@ -338,10 +338,10 @@ class PolygonItemInserter(ItemInserter):
|
||||
self._current_image_item = image_item
|
||||
|
||||
self._scene.setMessage("Press Enter to finish the polygon.")
|
||||
else:
|
||||
polygon = self._item.polygon()
|
||||
polygon.append(pos)
|
||||
self._item.setPolygon(polygon)
|
||||
|
||||
polygon = self._item.polygon()
|
||||
polygon.append(pos)
|
||||
self._item.setPolygon(polygon)
|
||||
|
||||
event.accept()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user