Updated EventManager

Fixed warning about losing percision on a float.
This commit is contained in:
Mario Steele 2026-03-06 21:22:36 -06:00
parent 298381b2d9
commit b47df7ad86

View file

@ -30,8 +30,8 @@ func test_notification(msg: String) -> void:
lbl.text = msg
lbl.modulate.a = 0
lbl.ready.connect(func() -> void:
var half: Vector2 = lbl.size / 2
lbl.position = Vector2(get_tree().root.size / 2) - half
var half: Vector2 = lbl.size / 2.0
lbl.position = Vector2(get_tree().root.size / 2.0) - half
var tw := create_tween()
tw.tween_property(lbl, "modulate:a", 1.0, 0.5)
tw.tween_interval(2.5)