mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 22:04:43 -04:00
Notification labels appear on top of the timeline
This commit is contained in:
parent
7a008cfc3f
commit
d64b4edb96
2 changed files with 3 additions and 3 deletions
|
@ -389,7 +389,7 @@ func find_node_by_name(root, node_name) -> Node:
|
|||
func notification_label(text : String) -> void:
|
||||
var notification : Label = load("res://Prefabs/NotificationLabel.tscn").instance()
|
||||
notification.text = tr(text)
|
||||
notification.rect_position = Vector2(240, OS.window_size.y - 150)
|
||||
notification.rect_position = Vector2(240, OS.window_size.y - animation_timeline.rect_size.y - 20)
|
||||
notification.theme = control.theme
|
||||
get_tree().get_root().add_child(notification)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue