Some uncommited changes.
This commit is contained in:
Submodule include/libqmatrixclient updated: 875514ee86...9fb5fd1181
@@ -3,7 +3,6 @@ import QtQuick 2.9
|
||||
import Qt.labs.settings 1.0
|
||||
|
||||
Settings {
|
||||
property bool lazyLoad: true
|
||||
property bool pressAndHold
|
||||
property bool rearrangeByActivity
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ Page {
|
||||
RoomListModel {
|
||||
id: roomListModel
|
||||
|
||||
onRoomAdded: if (!MSettings.lazyLoad) room.getPreviousContent(20)
|
||||
onRoomAdded: room.getPreviousContent(20)
|
||||
onNewMessage: if (!window.active) matriqueController.showMessage(roomName, content, icon)
|
||||
}
|
||||
|
||||
|
||||
@@ -191,13 +191,6 @@ Page {
|
||||
padding: 64
|
||||
|
||||
Column {
|
||||
Switch {
|
||||
text: "Lazy load at initial sync"
|
||||
checked: MSettings.lazyLoad
|
||||
|
||||
onCheckedChanged: MSettings.lazyLoad = checked
|
||||
}
|
||||
|
||||
Switch {
|
||||
text: "Use press and hold instead of right click"
|
||||
checked: MSettings.pressAndHold
|
||||
|
||||
@@ -110,7 +110,7 @@ RowLayout {
|
||||
spacing: 4
|
||||
|
||||
Repeater {
|
||||
model: userMarker
|
||||
model: userMarker.length > 5 ? userMarker.slice(0, 5) : userMarker
|
||||
|
||||
ImageItem {
|
||||
width: parent.height
|
||||
@@ -121,6 +121,14 @@ RowLayout {
|
||||
}
|
||||
}
|
||||
|
||||
AutoLabel {
|
||||
visible: userMarker.length > 5
|
||||
text: userMarker.length - 5 + "+"
|
||||
coloredBackground: highlighted
|
||||
Material.foreground: "grey"
|
||||
font.pointSize: 8
|
||||
}
|
||||
|
||||
AutoLabel {
|
||||
id: timeLabel
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ Item {
|
||||
spacing: 8
|
||||
|
||||
boundsBehavior: Flickable.DragOverBounds
|
||||
flickDeceleration: 2000
|
||||
flickDeceleration: 4096
|
||||
|
||||
cacheBuffer: 200
|
||||
|
||||
@@ -479,6 +479,4 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onCurrentRoomChanged: if (currentRoom && currentRoom.timelineSize === 0) currentRoom.getPreviousContent(20)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user