Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ui_parts/tabs_panel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ func _ready() -> void:

func animate_in() -> void:
var tween := get_tree().create_tween()
tween.tween_property(self, "position:x", 0, 0.3).from(-200).set_ease(Tween.EASE_IN_OUT)
tween.tween_property(self, "position:x", 0, 0.3).from(-200).set_trans(Tween.TRANS_CUBIC).set_ease(Tween.EASE_OUT)

func animate_out() -> void:
var tween := get_tree().create_tween()
tween.tween_property(self, "position:x", -200, 0.3).set_ease(Tween.EASE_IN_OUT)
tween.tween_property(self, "position:x", -200, 0.3).set_trans(Tween.TRANS_CUBIC).set_ease(Tween.EASE_OUT)
await tween.finished
get_parent().hide()

Expand Down