V6.7.4 追加更新
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user