12.1: feathered selections, Select Subject, Soft Light, the fixed-width font menu (Compositor 1.1.1–1.1.4)

This commit is contained in:
雷电芽衣 committed 2026-09-26 17:15:26 -04:00
1 parent 3e52fd90ee
commit ee34c338d4
42 files changed
+1087 -94

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ std::optional<QRectF> EditorSession::selectionCopyRegion() const
return std::nullopt;
const QRectF canvas(QPointF(0, 0), m_document->size());
const std::optional<DocumentSelection> current = selection();
const QRectF bounds = current ? current->path.boundingRect() : canvas;
const QRectF bounds = current ? current->coverageBounds() : canvas;
// Path operations leave float noise: round with a tolerance.
constexpr double tolerance = 0.001;
const double minX = std::floor(bounds.left() + tolerance), minY = std::floor(bounds.top() + tolerance);