mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
prevent overscroll in roomlist and communities list
This commit is contained in:
parent
e3ad60911d
commit
491809e853
2 changed files with 12 additions and 10 deletions
|
@ -5,11 +5,11 @@
|
|||
import "./components"
|
||||
import "./dialogs"
|
||||
import Qt.labs.platform 1.1 as Platform
|
||||
import QtQml 2.12
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.5
|
||||
import QtQuick.Layouts 1.3
|
||||
import im.nheko 1.0
|
||||
import QtQml
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import im.nheko
|
||||
|
||||
Page {
|
||||
id: communitySidebar
|
||||
|
@ -38,6 +38,7 @@ Page {
|
|||
anchors.right: parent.right
|
||||
height: parent.height
|
||||
model: Communities.filtered()
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
id: scrollbar
|
||||
|
|
|
@ -6,11 +6,11 @@ import "./components"
|
|||
import "./dialogs"
|
||||
import "./ui"
|
||||
import Qt.labs.platform 1.1 as Platform
|
||||
import QtQml 2.12
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQuick.Layouts 1.3
|
||||
import im.nheko 1.0
|
||||
import QtQml
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import im.nheko
|
||||
|
||||
Page {
|
||||
//leftPadding: Nheko.paddingSmall
|
||||
|
@ -405,6 +405,7 @@ Page {
|
|||
anchors.right: parent.right
|
||||
height: parent.height
|
||||
model: Rooms
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
|
||||
//reuseItems: true
|
||||
ScrollBar.vertical: ScrollBar {
|
||||
|
|
Loading…
Reference in a new issue