summaryrefslogtreecommitdiff
path: root/client/player
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-08-16 21:19:18 +0200
committertpart <tpart120@proton.me>2024-08-16 21:19:18 +0200
commit5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b (patch)
treedaa9bf10d991db8ce55e907c2ad1b94e0965b755 /client/player
parent2c183e2e645b5fdf0324a9b1baf584c9dc06d268 (diff)
downloadhurrycurry-5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b.tar
hurrycurry-5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b.tar.bz2
hurrycurry-5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b.tar.zst
Fix round corner on bottom right of item bubble progress bar
Diffstat (limited to 'client/player')
-rw-r--r--client/player/item_bubble.gd1
1 files changed, 1 insertions, 0 deletions
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)