Add useless thing to console
This commit is contained in:
parent
05319af858
commit
379a7232df
|
@ -70,6 +70,8 @@ HDrawer {
|
||||||
.h, .help Show this help`.replace(/^ {8}/gm, "")
|
.h, .help Show this help`.replace(/^ {8}/gm, "")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
property bool doUselessThing: false
|
||||||
|
|
||||||
readonly property alias commandsView: commandsView
|
readonly property alias commandsView: commandsView
|
||||||
|
|
||||||
|
|
||||||
|
@ -212,4 +214,30 @@ HDrawer {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NumberAnimation {
|
||||||
|
running: doUselessThing
|
||||||
|
target: mainUI.mainPane.mainPaneList
|
||||||
|
property: "rotation"
|
||||||
|
duration: 250
|
||||||
|
from: 360
|
||||||
|
to: 0
|
||||||
|
loops: Animation.Infinite
|
||||||
|
onStopped: target.rotation = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
NumberAnimation {
|
||||||
|
running: doUselessThing
|
||||||
|
target: mainUI.pageLoader
|
||||||
|
property: "scale"
|
||||||
|
duration: 250
|
||||||
|
from: 1
|
||||||
|
to: -1
|
||||||
|
onStopped: if (doUselessThing) {
|
||||||
|
[from, to] = [to, from]
|
||||||
|
start()
|
||||||
|
} else {
|
||||||
|
target.scale = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user