make dashboard unload on close
This commit is contained in:
@@ -22,8 +22,7 @@ Item {
|
||||
implicitHeight: content.implicitHeight
|
||||
implicitWidth: content.implicitWidth || 854 // Hard coded fallback for first open
|
||||
opacity: 1 - offsetScale
|
||||
|
||||
// visible: offsetScale < 1
|
||||
visible: offsetScale < 1
|
||||
|
||||
Loader {
|
||||
id: content
|
||||
|
||||
@@ -60,10 +60,10 @@ RowLayout {
|
||||
color: root.mainColor
|
||||
implicitHeight: Math.ceil(root.percentage * parent.height)
|
||||
|
||||
Behavior on implicitHeight {
|
||||
Anim {
|
||||
}
|
||||
}
|
||||
// Behavior on implicitHeight {
|
||||
// Anim {
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ Singleton {
|
||||
id: root
|
||||
|
||||
readonly property date date: clock.date
|
||||
readonly property string dateStr: format("ddd d MMM - hh:mm:ss")
|
||||
readonly property string dateStr: format("ddd d MMM - hh:mm")
|
||||
property alias enabled: clock.enabled
|
||||
readonly property string hourStr: timeComponents[0] ?? ""
|
||||
readonly property int hours: clock.hours
|
||||
|
||||
Reference in New Issue
Block a user