summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-11 16:57:22 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-12 07:07:48 -0700
commitf2a8562b5da9abdf3961cc35dfebad9c710e4f30 (patch)
tree4fd58d232446451b589c7040b281f02b572a837a
parent84d45485fd9c523142f6ff2ac5c18c3626adf15d (diff)
downloadsubsurface-f2a8562b5da9abdf3961cc35dfebad9c710e4f30.tar.gz
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>
-rw-r--r--mobile-widgets/qml/DiveList.qml2
-rw-r--r--mobile-widgets/qml/main.qml13
2 files changed, 0 insertions, 15 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index a1e34e1c5..2c6219383 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -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
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 033bf6014..06c6826ab 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -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
- }
- }
- */
}