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:
1 parent
3e52fd90ee
commit
ee34c338d4
42 files changed
+1087
-94
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user