From db62f06de400108cbbfb28994d0d2a32fcdb15d3 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 24 May 2021 16:47:40 +0200 Subject: [PATCH] Make effects more visible --- imports/NeoChat/Component/FancyEffectsContainer.qml | 7 +------ imports/NeoChat/Page/RoomPage.qml | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/imports/NeoChat/Component/FancyEffectsContainer.qml b/imports/NeoChat/Component/FancyEffectsContainer.qml index f31bf5802..4707e0254 100644 --- a/imports/NeoChat/Component/FancyEffectsContainer.qml +++ b/imports/NeoChat/Component/FancyEffectsContainer.qml @@ -8,7 +8,7 @@ import QtQuick.Particles 2.15 import org.kde.kirigami 2.15 as Kirigami -Rectangle { +Item { id: item property bool enabled: false property int effectInterval: Kirigami.Units.veryLongDuration*10; @@ -27,11 +27,6 @@ Rectangle { fireworksTimer.start() } - // backgroundColor - color: Kirigami.Theme.backgroundColor - Kirigami.Theme.colorSet: Kirigami.Theme.Window - Kirigami.Theme.inherit: false - // Confetti Timer { diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index 6464dd415..ad53aa1e7 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -750,6 +750,7 @@ Kirigami.ScrollablePage { background: FancyEffectsContainer { id: fancyEffectsContainer + z: 100 enabled: Config.showFancyEffects