mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-21 13:03:13 +00:00
Fix notifications not appearing properly when the UI is scaled
This commit is contained in:
parent
3b7ac1eddf
commit
61fa13cde3
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ func _ready() -> void:
|
||||||
func notification_label(text : String) -> void:
|
func notification_label(text : String) -> void:
|
||||||
var notification : Label = notification_label_node.instance()
|
var notification : Label = notification_label_node.instance()
|
||||||
notification.text = tr(text)
|
notification.text = tr(text)
|
||||||
notification.rect_position = Vector2(70, OS.window_size.y - animation_timeline.rect_size.y - 20)
|
notification.rect_position = Vector2(70, animation_timeline.rect_position.y)
|
||||||
notification.theme = control.theme
|
notification.theme = control.theme
|
||||||
get_tree().get_root().add_child(notification)
|
get_tree().get_root().add_child(notification)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue