Change m.notice background color.
This commit is contained in:
@@ -7,7 +7,7 @@ import Matrique.Settings 0.1
|
|||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
readonly property bool avatarVisible: !(sentByMe || (aboveAuthor === author && section === aboveSection))
|
readonly property bool avatarVisible: !(sentByMe || (aboveAuthor === author && section === aboveSection))
|
||||||
readonly property bool highlighted: !sentByMe
|
readonly property bool highlighted: !(sentByMe || eventType === "notice" )
|
||||||
readonly property bool sentByMe: author === currentRoom.localUser
|
readonly property bool sentByMe: author === currentRoom.localUser
|
||||||
readonly property bool isText: eventType === "notice" || eventType === "message"
|
readonly property bool isText: eventType === "notice" || eventType === "message"
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ RowLayout {
|
|||||||
|
|
||||||
id: genericBubble
|
id: genericBubble
|
||||||
|
|
||||||
highlighted: !sentByMe
|
highlighted: messageRow.highlighted
|
||||||
colored: highlighted && (eventType === "notice" || highlight)
|
colored: highlighted && (eventType === "notice" || highlight)
|
||||||
|
|
||||||
contentItem: ColumnLayout {
|
contentItem: ColumnLayout {
|
||||||
|
|||||||
11
qml/main.qml
11
qml/main.qml
@@ -36,7 +36,16 @@ ApplicationWindow {
|
|||||||
Controller {
|
Controller {
|
||||||
id: matriqueController
|
id: matriqueController
|
||||||
|
|
||||||
onToggleWindow: window.visible ? window.hide() : window.show()
|
onToggleWindow: {
|
||||||
|
console.log("Activating window...")
|
||||||
|
if (window.visible) {
|
||||||
|
window.hide()
|
||||||
|
} else {
|
||||||
|
window.show()
|
||||||
|
window.raise()
|
||||||
|
window.requestActivate()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Popup {
|
Popup {
|
||||||
|
|||||||
Reference in New Issue
Block a user