Fix edit photo button area.

This commit is contained in:
John Preston 2023-11-16 17:16:49 +04:00
parent af6e15ed59
commit 5d0a36e456
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 785 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -4386,7 +4386,7 @@ void HistoryWidget::updateOverStates(QPoint pos) {
const auto inPhotoEdit = inDetails
&& _photoEditMedia
&& QRect(
detailsRect.x(),
detailsRect.x() + st::historyReplySkip,
(detailsRect.y()
+ (detailsRect.height() - st::historyReplyPreview) / 2),
st::historyReplyPreview,