mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 19:41:30 +00:00
mobile UI: stop trying to play with opacity
Since we are switching between pages, the whole opacity mechanics make no sense. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
84d45485fd
commit
f2a8562b5d
2 changed files with 0 additions and 15 deletions
|
@ -420,8 +420,6 @@ Kirigami.ScrollablePage {
|
||||||
ListView {
|
ListView {
|
||||||
id: diveListView
|
id: diveListView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
opacity: 1.0 - startPage.opacity
|
|
||||||
visible: opacity > 0
|
|
||||||
model: diveListModel
|
model: diveListModel
|
||||||
currentIndex: -1
|
currentIndex: -1
|
||||||
delegate: diveOrTripDelegate
|
delegate: diveOrTripDelegate
|
||||||
|
|
|
@ -710,8 +710,6 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: Backend.cloud_verification_status !== Enums.CS_NOCLOUD &&
|
visible: Backend.cloud_verification_status !== Enums.CS_NOCLOUD &&
|
||||||
Backend.cloud_verification_status !== Enums.CS_VERIFIED
|
Backend.cloud_verification_status !== Enums.CS_VERIFIED
|
||||||
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
|
|
||||||
|
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (visible) {
|
if (visible) {
|
||||||
pageStack.clear()
|
pageStack.clear()
|
||||||
|
@ -863,20 +861,9 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
if (Screen.manufacturer + " " + Screen.model + " " + Screen.name !== " ")
|
if (Screen.manufacturer + " " + Screen.model + " " + Screen.name !== " ")
|
||||||
manager.appendTextToLog("Running on " + Screen.manufacturer + " " + Screen.model + " " + Screen.name)
|
manager.appendTextToLog("Running on " + Screen.manufacturer + " " + Screen.model + " " + Screen.name)
|
||||||
rootItem.visible = true
|
rootItem.visible = true
|
||||||
diveList.opacity = 1
|
|
||||||
rootItem.opacity = 1
|
|
||||||
manager.appendTextToLog("setting the defaultColumnWidth to " + Kirigami.Units.gridUnit * 21)
|
manager.appendTextToLog("setting the defaultColumnWidth to " + Kirigami.Units.gridUnit * 21)
|
||||||
pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 21
|
pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 21
|
||||||
manager.finishSetup()
|
manager.finishSetup()
|
||||||
manager.appInitialized()
|
manager.appInitialized()
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: Verify where opacity went to.
|
|
||||||
Behavior on opacity {
|
|
||||||
NumberAnimation {
|
|
||||||
duration: 200
|
|
||||||
easing.type: Easing.OutQuad
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue