2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fixed borders of drawn lines in photo editor.

This commit is contained in:
23rd
2021-05-07 15:20:23 +03:00
parent cdafd8f171
commit 7bcb1fc8b2

View File

@@ -100,7 +100,7 @@ void ItemCanvas::applyBrush(const QColor &color, float size) {
_brushData.color = color;
_brushData.size = size;
_p->setBrush(color);
_brushMargins = QMarginsF(size, size, size, size) / 2.;
_brushMargins = QMarginsF(size, size, size, size);// / 2.;
}
QRectF ItemCanvas::boundingRect() const {