Adds virtual keyboard detection and spacer to make sure that informations is not hidden by it.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user