1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Fix dark and light background colors

This commit is contained in:
Elias Steurer 2020-08-18 17:17:16 +02:00
parent f17b26fd00
commit 95c11702a0

View File

@ -1,10 +1,12 @@
import QtQuick 2.12
import QtQuick.Controls.Material 2.12
import QtGraphicalEffects 1.0
import QtQuick.Particles 2.0
Item {
Rectangle {
id: element
anchors.fill: parent
color: Material.theme === Material.Light ? "white" : Qt.darker( Material.background)
state: "init"
onStateChanged: {
if (state === "init") {