mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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 {
|
||||
id: diveListView
|
||||
anchors.fill: parent
|
||||
opacity: 1.0 - startPage.opacity
|
||||
visible: opacity > 0
|
||||
model: diveListModel
|
||||
currentIndex: -1
|
||||
delegate: diveOrTripDelegate
|
||||
|
|
|
@ -710,8 +710,6 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
|||
anchors.fill: parent
|
||||
visible: Backend.cloud_verification_status !== Enums.CS_NOCLOUD &&
|
||||
Backend.cloud_verification_status !== Enums.CS_VERIFIED
|
||||
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
|
||||
|
||||
onVisibleChanged: {
|
||||
if (visible) {
|
||||
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 !== " ")
|
||||
manager.appendTextToLog("Running on " + Screen.manufacturer + " " + Screen.model + " " + Screen.name)
|
||||
rootItem.visible = true
|
||||
diveList.opacity = 1
|
||||
rootItem.opacity = 1
|
||||
manager.appendTextToLog("setting the defaultColumnWidth to " + Kirigami.Units.gridUnit * 21)
|
||||
pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 21
|
||||
manager.finishSetup()
|
||||
manager.appInitialized()
|
||||
}
|
||||
|
||||
/* TODO: Verify where opacity went to.
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 200
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue