From 03dc6af298e1baacf36812adeee39702b3f3fc6f Mon Sep 17 00:00:00 2001 From: Cyri1 Date: Mon, 20 Feb 2023 13:38:51 +0100 Subject: [PATCH] fix: some stories doesnt work --- config.yaml | 2 -- src/composables/handleSlideClick.js | 21 +++++++++++++++++++++ src/views/PrefTab3.vue | 27 +++++++++++++++++++++++---- 3 files changed, 44 insertions(+), 6 deletions(-) diff --git a/config.yaml b/config.yaml index f55057f..6017e14 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,5 @@ platforms: android: - versionName: 0.3.9 - incrementVersionCode: true manifest: - file: AndroidManifest.xml target: manifest/application diff --git a/src/composables/handleSlideClick.js b/src/composables/handleSlideClick.js index 3750609..a498c0f 100644 --- a/src/composables/handleSlideClick.js +++ b/src/composables/handleSlideClick.js @@ -76,6 +76,20 @@ export function detectTypeOfStageNode(actionNode) { actionNode.controlSettings.ok === true && actionNode.controlSettings.pause === false && actionNode.controlSettings.wheel === false && + actionNode.image !== null) || + (actionNode.audio === null && // test purpose + actionNode.controlSettings.autoplay === false && + actionNode.controlSettings.home === true && + actionNode.controlSettings.ok === true && + actionNode.controlSettings.pause === false && + actionNode.controlSettings.wheel === true && + actionNode.image !== null) || + (actionNode.audio !== null && // test purpose + actionNode.controlSettings.autoplay === true && + actionNode.controlSettings.home === false && + actionNode.controlSettings.ok === false && + actionNode.controlSettings.pause === false && + actionNode.controlSettings.wheel === false && actionNode.image !== null) ) { return { type: 'displaySlideSet', okTransition: actionNode.okTransition }; @@ -111,6 +125,13 @@ export function detectTypeOfStageNode(actionNode) { actionNode.controlSettings.ok === true && actionNode.controlSettings.pause === true && actionNode.controlSettings.wheel === false && + actionNode.image === null) || + (actionNode.audio !== null && // test purpose + actionNode.controlSettings.autoplay === true && + actionNode.controlSettings.home === false && + actionNode.controlSettings.ok === true && + actionNode.controlSettings.pause === false && + actionNode.controlSettings.wheel === false && actionNode.image === null) ) { return { type: 'audioStory', okTransition: actionNode.okTransition }; diff --git a/src/views/PrefTab3.vue b/src/views/PrefTab3.vue index e597078..a963f0f 100644 --- a/src/views/PrefTab3.vue +++ b/src/views/PrefTab3.vue @@ -20,7 +20,7 @@ - Activer le mode dodo + Activer le mode sommeil @@ -37,12 +37,34 @@ + + + + Mode sommeil + + Fermer + + + + +

+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Magni illum quidem recusandae ducimus quos + reprehenderit. Veniam, molestias quos, dolorum consequuntur nisi deserunt omnis id illo sit cum qui. Eaque, + dicta. +

+
+
\ No newline at end of file