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

0.5.15 version with fixes in photo viewer

This commit is contained in:
John Preston
2014-08-12 00:53:25 +04:00
parent 16d5e6e2f3
commit 7f976fa251
9 changed files with 19 additions and 20 deletions

View File

@@ -61,8 +61,7 @@ void MediaView::moveToScreen() {
if (!geom.contains(_avail)) {
_avail = geom;
}
_avail.setX(_avail.x() - geom.x());
_avail.setY(_avail.y() - geom.y());
_avail.moveTo(0, 0);
_maxWidth = _avail.width() - 2 * st::medviewNavBarWidth;
_maxHeight = _avail.height() - st::medviewTopSkip - st::medviewBottomSkip;
_leftNav = QRect(0, 0, st::medviewNavBarWidth, height());