deduplication pass

This commit is contained in:
2026-04-03 18:19:08 -07:00
parent f6b47e6d79
commit c8d766677b
42 changed files with 484 additions and 689 deletions

View File

@@ -36,7 +36,7 @@ class RotateField:
expand_canvas: bool,
) -> tuple:
if field.overlays:
self._send_warning("Rotate clears annotation/markup overlays!")
emit_warning("Rotate clears annotation/markup overlays!")
angle = float(angle)
order_map = {
@@ -82,9 +82,6 @@ class RotateField:
)
return (result,)
def _send_warning(self, message: str):
emit_warning(message)
@staticmethod
def _rotated_extents(field: DataField, angle: float, expand_canvas: bool) -> tuple[float, float]:
if not expand_canvas: