function updateSnow() {
if (userSpeed.currentText == '') { // hack
- console.log('not initialized yet');
+ //console.log('not initialized yet');
return;
}
* or slowly add/delete new snow flakes */
function updateCount() {
+ if (snowFalling == null) // quickhack
+ return;
+
var alreadyRunning = snowFalling.running;
destroySnow();
}
- GridLayout {
+ //Plasmoid.Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
+ Layout.minimumWidth: units.gridUnit * 13;
+ Layout.minimumHeight: units.gridUnit * 10;
+
+ GridLayout {
id: gridLayout
rows: 5
flow: GridLayout.TopToBottom
Button { width: 100; text: "Stop"; onClicked: destroySnow(); }
}
+//}
Timer {