Fancy effects: fix container positioning
This commit is contained in:
committed by
Carl Schwan
parent
01f8c3b09f
commit
008d19e68b
@@ -176,12 +176,13 @@ Item {
|
|||||||
repeat: true
|
repeat: true
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
customEmit(Math.random() * parent.width,
|
customEmit(Math.random() * parent.width,
|
||||||
Math.random() * parent.width) // height is 0 somehow
|
Math.random() * parent.height)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ParticleSystem {
|
ParticleSystem {
|
||||||
id: fireworksSystem
|
id: fireworksSystem
|
||||||
|
anchors.fill: parent
|
||||||
running: fireworksInternalTimer.running
|
running: fireworksInternalTimer.running
|
||||||
onRunningChanged: {
|
onRunningChanged: {
|
||||||
if (running) {
|
if (running) {
|
||||||
|
|||||||
@@ -595,11 +595,9 @@ Kirigami.ScrollablePage {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
FancyEffectsContainer {
|
background: FancyEffectsContainer {
|
||||||
id: fancyEffectsContainer
|
id: fancyEffectsContainer
|
||||||
|
|
||||||
Layout.fillWidth: true
|
|
||||||
Layout.fillHeight: true
|
|
||||||
enabled: Config.showFancyEffects
|
enabled: Config.showFancyEffects
|
||||||
|
|
||||||
function processFancyEffectsReason(fancyEffect) {
|
function processFancyEffectsReason(fancyEffect) {
|
||||||
|
|||||||
Reference in New Issue
Block a user