V6.7.4 追加更新

This commit is contained in:
2026-07-20 09:21:44 +08:00
parent 6425b11a96
commit e90e80000f
25 changed files with 2830 additions and 2764 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ QImage PicTextItem::strToImage(const QString &str)
QPointF PicTextItem::clampItemPos(const QPointF &p)
{
return QPointF (std::min(qreal(scene()->width() - boundingRect().width()), std::max(0.0, p.x())),
std::min(qreal(scene()->height() - boundingRect().height()), std::max(0.0, p.y())));
std::min((qreal(scene()->height() + 1) - boundingRect().height()), std::max(0.0, p.y())));
}
TextItemModel TextItemModel::fromItem(PicTextItem *item)