diff options
author | tpart <tpart120@proton.me> | 2024-08-16 21:19:18 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-08-16 21:19:18 +0200 |
commit | 5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b (patch) | |
tree | daa9bf10d991db8ce55e907c2ad1b94e0965b755 | |
parent | 2c183e2e645b5fdf0324a9b1baf584c9dc06d268 (diff) | |
download | hurrycurry-5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b.tar hurrycurry-5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b.tar.bz2 hurrycurry-5e9ad1a714352d8d24c20d62e75fbc06fc0ecc8b.tar.zst |
Fix round corner on bottom right of item bubble progress bar
-rw-r--r-- | client/player/item_bubble.gd | 1 |
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) |