From 5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b Mon Sep 17 00:00:00 2001 From: tpart Date: Fri, 16 Aug 2024 21:19:18 +0200 Subject: Fix round corner on bottom right of item bubble progress bar --- client/player/item_bubble.gd | 1 + 1 file changed, 1 insertion(+) (limited to 'client') diff --git a/client/player/item_bubble.gd b/client/player/item_bubble.gd index 1b7dbaa5..927a5299 100644 --- a/client/player/item_bubble.gd +++ b/client/player/item_bubble.gd @@ -51,4 +51,5 @@ func _process(delta): progress.value = timeout_remaining var x: float = timeout_remaining / timeout_initial progress_style.bg_color = Color(min((1-x) * 2, 1), min(x * 2, 1), 0.) + progress_style.corner_radius_bottom_right = max(32.-(1.-x)*320, 0) progress.add_theme_stylebox_override("fill", progress_style) -- cgit v1.2.3-70-g09d2