mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 19:50:27 +00:00
Merge remote-tracking branch 'origin/KDE/4.11'
This commit is contained in:
commit
726d3b359c
|
@ -159,9 +159,10 @@ MouseEventListener {
|
||||||
id: mainPage
|
id: mainPage
|
||||||
document: documentItem
|
document: documentItem
|
||||||
flickable: mainFlickable
|
flickable: mainFlickable
|
||||||
anchors.centerIn: parent
|
|
||||||
property real ratio: implicitWidth / implicitHeight
|
property real ratio: implicitWidth / implicitHeight
|
||||||
|
|
||||||
|
x: Math.round((parent.width - width) / 2)
|
||||||
|
y: Math.round((parent.height - height) / 2)
|
||||||
width: implicitWidth
|
width: implicitWidth
|
||||||
height: implicitHeight
|
height: implicitHeight
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue