summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-07-08 21:28:10 -0400
committerJoseph Donofry <joedonofry@gmail.com>2021-07-08 21:28:10 -0400
commit425f02b80045f479a4624ddae8ed901b70201ebd (patch)
tree94f9981e08121f46921a464a599a7c991f0f47b6
parentMerge remote-tracking branch 'origin/master' into nheko_loading_spinner (diff)
downloadnheko-425f02b80045f479a4624ddae8ed901b70201ebd.tar.xz
Remove EmojiEmitter
-rw-r--r--resources/qml/ui/EmojiEmitter.qml60
1 files changed, 0 insertions, 60 deletions
diff --git a/resources/qml/ui/EmojiEmitter.qml b/resources/qml/ui/EmojiEmitter.qml
deleted file mode 100644

index 953b0352..00000000 --- a/resources/qml/ui/EmojiEmitter.qml +++ /dev/null
@@ -1,60 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Particles 2.0 - -Item { - id: bg - - readonly property int velocity: 50 - - ParticleSystem { - id: particleSys - } - - Emitter { - id: particles - - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.top - width: parent.width - system: particleSys - emitRate: 10 - lifeSpan: (parent.height / bg.velocity) * 1000 //8000 - lifeSpanVariation: 1000 - maximumEmitted: 1000 - size: 5 - sizeVariation: 15 - - velocity: AngleDirection { - angle: 90 - angleVariation: 10 - magnitude: bg.velocity - } - - } - - ItemParticle { - id: particle - - system: particleSys - delegate: itemDelegate - } - - Component { - id: itemDelegate - - Item { - id: container - - x: bg.width / 2 - y: 0 - - Text { - anchors.fill: parent - text: "🎉" - } - - } - - } - -}