mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-27 20:17:26 -04:00
onboarding close button
This commit is contained in:
parent
9e46290c36
commit
3131b731e0
7 changed files with 126 additions and 9 deletions
|
@ -5,7 +5,7 @@ const SHOWN = Color(1, 1, 1, 1)
|
|||
const HIDDEN = Color(1, 1, 1, 0)
|
||||
|
||||
@export var root: Control
|
||||
@export var skip: Button
|
||||
@export var close: Button
|
||||
@export var fade_in: float = 0.2
|
||||
@export var fade_out: float = 0.2
|
||||
|
||||
|
@ -13,7 +13,7 @@ var tween: Tween
|
|||
|
||||
|
||||
func _ready() -> void:
|
||||
skip.pressed.connect(hide_onboarding)
|
||||
close.pressed.connect(hide_onboarding)
|
||||
|
||||
visible = true
|
||||
root.visible = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue