mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 10:24:44 -04:00
Move the notifications a bit to the left
This commit is contained in:
parent
0d5b4416a4
commit
b5df8a7ac5
2 changed files with 4 additions and 4 deletions
|
@ -294,7 +294,7 @@ func find_node_by_name(root : Node, node_name : String) -> Node:
|
|||
func notification_label(text : String) -> void:
|
||||
var notification : Label = load("res://src/UI/NotificationLabel.tscn").instance()
|
||||
notification.text = tr(text)
|
||||
notification.rect_position = Vector2(240, OS.window_size.y - animation_timeline.rect_size.y - 20)
|
||||
notification.rect_position = Vector2(70, 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