Adds virtual keyboard detection and spacer to make sure that informations is not hidden by it.

This commit is contained in:
Dylan Sarrazyn
2024-07-30 16:11:41 +02:00
parent ead1c7de79
commit 6e0e2d2719
20 changed files with 351 additions and 279 deletions
+6
View File
@@ -192,6 +192,9 @@ func _win() -> void:
# Lock the UI
minigame_ui.lock()
if gardens_data:
gardens_data.minigame_completed = true
if UserDataManager.student_progression:
UserDataManager.student_progression.game_completed(lesson_nb, minigame_number)
@@ -218,6 +221,9 @@ func _lose() -> void:
# Lock the UI
minigame_ui.lock()
if gardens_data:
gardens_data.minigame_completed = false
# Remediation
if scores:
UserDataManager.update_remediation_scores(scores)