diff options
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Content.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml index 4eec97a..1cc960a 100644 --- a/modules/dashboard/Content.qml +++ b/modules/dashboard/Content.qml @@ -142,7 +142,8 @@ Item { Component.onCompleted: active = Qt.binding(() => { // Always keep current tab loaded - if (pane.index === view.currentIndex) return true; + if (pane.index === view.currentIndex) + return true; const vx = Math.floor(view.visibleArea.xPosition * view.contentWidth); const vex = Math.floor(vx + view.visibleArea.widthRatio * view.contentWidth); return (vx >= x && vx <= x + implicitWidth) || (vex >= x && vex <= x + implicitWidth); |