From 05e88b5e4beacb2e73bbdaa082ab07d4fba4b27c Mon Sep 17 00:00:00 2001 From: expectocode Date: Thu, 9 May 2019 21:27:15 +0100 Subject: [PATCH] render messages as rectanglar, not bubbly --- .../Component/Timeline/ImageDelegate.qml | 2 +- .../Component/Timeline/MessageDelegate.qml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/imports/Spectral/Component/Timeline/ImageDelegate.qml b/imports/Spectral/Component/Timeline/ImageDelegate.qml index 2d4e472..181f5b8 100644 --- a/imports/Spectral/Component/Timeline/ImageDelegate.qml +++ b/imports/Spectral/Component/Timeline/ImageDelegate.qml @@ -115,7 +115,7 @@ ColumnLayout { maskSource: Rectangle { width: img.width height: img.height - radius: 24 + radius: 6 } } diff --git a/imports/Spectral/Component/Timeline/MessageDelegate.qml b/imports/Spectral/Component/Timeline/MessageDelegate.qml index 154c152..db5ca69 100644 --- a/imports/Spectral/Component/Timeline/MessageDelegate.qml +++ b/imports/Spectral/Component/Timeline/MessageDelegate.qml @@ -80,10 +80,10 @@ ColumnLayout { width: parent.width / 2 height: parent.height / 2 - visible: !sentByMe && (bubbleShape == 3 || bubbleShape == 2) + visible: true color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent - radius: 2 + radius: 5 } Rectangle { @@ -93,10 +93,10 @@ ColumnLayout { width: parent.width / 2 height: parent.height / 2 - visible: sentByMe && (bubbleShape == 3 || bubbleShape == 2) + visible: true color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent - radius: 2 + radius: 5 } Rectangle { @@ -106,10 +106,10 @@ ColumnLayout { width: parent.width / 2 height: parent.height / 2 - visible: !sentByMe && (bubbleShape == 1 || bubbleShape == 2) + visible: true color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent - radius: 2 + radius: 5 } Rectangle { @@ -119,10 +119,10 @@ ColumnLayout { width: parent.width / 2 height: parent.height / 2 - visible: sentByMe && (bubbleShape == 1 || bubbleShape == 2) + visible: true color: sentByMe ? MPalette.background : eventType === "notice" ? MPalette.primary : MPalette.accent - radius: 2 + radius: 5 } AutoMouseArea {