Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11913,8 +11913,13 @@ def remove_rotation(self):
pass
for widget in self.widgets(): # modify field rectangles
r = widget.rect * rot
if r.is_empty or r.is_infinite:
continue
widget.rect = r
widget.update()
try:
widget.update()
except ValueError:
pass
return rot # the inverse of the generated derotation matrix

def cluster_drawings(
Expand Down
Loading