Commit d6546d6c authored by Lucien XU's avatar Lucien XU

[cleanups] Cleanup spinner

Removed useless stuff from the spinner.
parent cbcd78ba
...@@ -34,10 +34,8 @@ import QtQuick.Controls.Styles.Nemo 1.0 ...@@ -34,10 +34,8 @@ import QtQuick.Controls.Styles.Nemo 1.0
Item { Item {
id: container id: container
// anchors.centerIn: parent
width: 2 * Theme.spinner.radius + Theme.spinner.horizontalSpacing width: 2 * Theme.spinner.radius + Theme.spinner.horizontalSpacing
height: 2 * Theme.spinner.radius + Theme.spinner.verticalSpacing height: 2 * Theme.spinner.radius + Theme.spinner.verticalSpacing
// visible: enabled
states: [ states: [
State { name: "enabled"; when: enabled } State { name: "enabled"; when: enabled }
...@@ -140,7 +138,6 @@ Item { ...@@ -140,7 +138,6 @@ Item {
id: animations id: animations
loops: Animation.Infinite loops: Animation.Infinite
ParallelAnimation { ParallelAnimation {
onRunningChanged: console.debug(running)
PropertyAnimation { PropertyAnimation {
target: circle0 target: circle0
property: "color" property: "color"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment