mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Make the notifications always appear on the bottom left of the main canvas
This commit is contained in:
parent
1df003b2df
commit
bf7844b149
|
@ -412,7 +412,8 @@ func _initialize_keychain() -> 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, animation_timeline.rect_position.y)
|
notification.rect_position = main_viewport.rect_global_position
|
||||||
|
notification.rect_position.y += main_viewport.rect_size.y
|
||||||
control.add_child(notification)
|
control.add_child(notification)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue