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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user